* fix(proxy,graph): do not disable personal space on inconclusive permission check When a user's role is (re-)assigned, both the proxy (on OIDC login) and the graph appRoleAssignment handler check the Drives.Create permission to decide whether to restore or disable the user's personal space. An indeterminate permission result (transport error or a non-OK status other than PERMISSION_DENIED) was treated as a denial, which disabled (trashed) the personal space on a transient settings/gateway fault — with no automatic re-enable. See OCISDEV-884. Both call sites now fail closed: on an indeterminate result they leave the personal space untouched, revert the just-persisted role assignment so the user is not left in a half-applied state, and surface the error (the proxy retries on the next login, the graph handler returns 500). Relies on the matching reva utils.CheckPermission change that surfaces non-authoritative statuses as an error. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * rebased --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 line
7.4 KiB
Plaintext
1 line
7.4 KiB
Plaintext
{"version":3,"file":"static/css/main.46162c75.css","mappings":"AACA,UAEE,WACF,CAEA,KACE,QAAS,CACT,SACF,CAEA,IAME,eAAiB,CAHjB,QAAS,CACT,MAAO,CAHP,cAAe,CAIf,OAAQ,CAHR,KAKF,CAEA,QAEE,SAAU,CAIV,UAAW,CADX,6CAAuD,CADvD,eAAgB,CADhB,QAAS,CAFT,iBAAkB,CAMlB,8BACF,CAEA,UACE,aACF,CAEA,gBAIE,UAAY,CACZ,6CAAuD,CAFvD,eAAgB,CAFhB,iBAAkB,CAClB,UAIF,CAEA,qBACE,eACF,CAEA,MAEE,YAAa,CADb,WAEF,CAIA,EAEE,4BAA6B,CAD7B,oBAEF,CAEA,aACE,+BACF,CAIA,oBAGE,gBAAuB,CAFvB,UAAW,CAGX,gBAAiB,CAFjB,SAGF,CAEA,2BAEE,kBAAmB,CADnB,YAEF,CAEA,2BACE,YAAa,CACb,QAAS,CACT,OACF,CAEA,oFAEE,aACF,CAEA,sGAEE,YACF,CAEA,0BACE,2BAA4B,CAC5B,8BAA+B,CAC/B,2BAA4B,CAC5B,wBACF,CAEA,0BACE,2BAA4B,CAC5B,qBAAsB,CAGtB,iBAAkB,CAFlB,eAAgB,CAChB,iBAEF,CAEA,wEAEE,mBAAoB,CACpB,oBACF,CAEA,gJASE,kBAAyB,CADzB,kBAEF,CAEA,gCACE,wBACF,CAEA,iCACE,wBACF,CAEA,wEAIE,cACF,CAEA,qCACE,wBACF,CAGA,WACE,iBAAkB,CAGlB,6BAA8B,CAD9B,mBAAoB,CADpB,gIAGF,CAEA,KACE,4BACF,CAEA,KACE,4BACF,CAEA,OACE,eACF,CAEA,aACE,iEAA8C,CAG9C,uBAA2B,CAD3B,2BAA4B,CAD5B,qBAAsB,CAItB,YAAa,CACb,UAAW,CAFX,SAGF,CAEA,QAEE,UAAY,CACZ,wBACF,CAEA,SAIE,WAAY,CADZ,QAAS,CAFT,iBAAkB,CAClB,UAAW,CAGX,0BACF,CAEA,aAEE,oCAAoD,CACpD,UAAW,CACX,WACF,CAEA,iBAEE,kCACF,CAEA,UACE,qBAAsB,CACtB,qBAAsB,CACtB,iBAAkB,CAIlB,qBAAsB,CACtB,cAAe,CAJf,WAAY,CAEZ,YAAa,CADb,WAIF,CAEA,UACE,UAAW,CACX,oBAAqB,CACrB,iBACF,CAEA,gBAEE,wBAAyB,CADzB,YAEF,CAEA,0BACE,uBACF,CAEA,gBAEE,qBAAsB,CADtB,YAEF,CAEA,oBACE,eACF,CAEA,qBACE,sBACF,CAEA,WAEE,6BACF,CAEA,mBAGE,sDAA4D,CAC5D,8BAAgC,CAChC,gCAAwC,CAHxC,UAIF,CAEA,sBAEE,mBACF,CAEA,mBACE,UAAY,CAEZ,eAAiB,CADjB,YAEF,CAEA,yCACE,SACE,WAAY,CACZ,SACF,CACF,CAGA,SACE,yBACF,CAEA,SACE,4BACF,CAEA,UACE,oBACF,CAEA,sCACE,kBACF,CAMA,iBACE,kBAAoB,CACpB,oCAAyC,CACzC,oBAAsB,CACtB,yBAA2B,CAC3B,mBAAqB,CAErB,2BAA6B,CAC7B,KAAM,CACN,kBAAmB,CACnB,mBACF","sources":["app.css"],"sourcesContent":["/* Kopano styles */\nhtml,\nbody {\n height: 100%;\n}\n\nbody {\n margin: 0;\n padding: 0;\n}\n\n#bg {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: white;\n}\n\n#loader {\n position: absolute;\n bottom: 6%;\n left: 50%;\n font-weight: 400;\n font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;\n color: #666;\n transform: translate(-50%, -50%);\n}\n\n#loader > a {\n color: #1e98d7; /* KopanoBlue700 */\n}\n\n#font-preloader {\n position: absolute;\n top: -500px;\n font-weight: 400;\n color: white;\n font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;\n}\n\n#font-preloader > span {\n font-weight: 500;\n}\n\n#root {\n height: 100%;\n display: flex;\n}\n\n/* CSS Scrollbars, currently only Firefox: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars */\n\n* {\n scrollbar-width: thin;\n scrollbar-color: #ddd #f5f5f5;\n}\n\nbody:hover * {\n scrollbar-color: #bdbdbd #f5f5f5;\n}\n\n/* Webkit specific scrollbars, works in Chrome and Safari */\n\n::-webkit-scrollbar {\n height: 8px;\n width: 8px;\n background: transparent;\n overflow: visible;\n}\n\n::-webkit-scrollbar-corner {\n display: none;\n background: #f5f5f5;\n}\n\n::-webkit-scrollbar-button {\n display: none;\n height: 0;\n width: 0;\n}\n\n::-webkit-scrollbar-button:start:decrement,\n::-webkit-scrollbar-button:end:increment {\n display: block;\n}\n\n::-webkit-scrollbar-button:vertical:start:increment,\n::-webkit-scrollbar-button:vertical:end:decrement {\n display: none;\n}\n\n::-webkit-scrollbar-track {\n -moz-background-clip: border;\n -webkit-background-clip: border;\n background-clip: padding-box;\n background-color: #f5f5f5;\n}\n\n::-webkit-scrollbar-thumb {\n background-clip: padding-box;\n background-color: #ddd;\n min-height: 40px;\n padding-top: 100px;\n border-radius: 4px;\n}\n\n::-webkit-scrollbar-track:vertical,\n::-webkit-scrollbar-track:horizontal {\n border-left-width: 0;\n border-right-width: 0;\n}\n\n::-webkit-scrollbar-track:vertical,\n::-webkit-scrollbar-track:horizontal,\n::-webkit-scrollbar-thumb:vertical,\n::-webkit-scrollbar-thumb:horizontal,\n::-webkit-scrollbar-track:vertical,\n::-webkit-scrollbar-track:horizontal,\n::-webkit-scrollbar-thumb:vertical,\n::-webkit-scrollbar-thumb:horizontal {\n border-style: solid;\n border-color: transparent;\n}\n\n::-webkit-scrollbar-thumb:hover {\n background-color: #bdbdbd;\n}\n\n::-webkit-scrollbar-thumb:active {\n background-color: #989898;\n}\n\n::-webkit-scrollbar-thumb:vertical,\n::-webkit-scrollbar-thumb:horizontal {\n border-width: 0;\n border-left-width: 0;\n border-right-width: 0;\n}\n\nbody:hover ::-webkit-scrollbar-thumb {\n background-color: #bdbdbd;\n}\n\n/* additional css on top of kpop */\n@font-face {\n font-family: Inter;\n src: url(./fonts/inter.woff2) format('woff2'), url(./fonts/inter.ttf) format('truetype');\n font-weight: 100 900;\n font-style: oblique 0deg 12deg;\n}\n\nhtml {\n font-feature-settings: 'cv11';\n}\n\nbody {\n font-family: Inter, sans-serif;\n}\n\nstrong {\n font-weight: 600;\n}\n\n.oc-login-bg {\n background-image: url(./images/background.jpg);\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n z-index: 0;\n display: flex;\n width: 100%;\n}\n\n#loader {\n /* NOTE(longsleep): White here needed because of the background image */\n color: white;\n text-shadow: #000 0 0 1px;\n}\n\n.oc-logo {\n position: absolute;\n top: -130px;\n left: 50%;\n height: 80px;\n transform: translateX(-50%);\n}\n\n.oc-progress {\n /* Needs to be important to overwrite material-ui */\n background-color: rgba(78, 133, 200, 0.8) !important;\n height: 4px;\n width: 100px;\n}\n\n.oc-progress > div {\n /* Needs to be important to overwrite material-ui */\n background-color: #4a76ac !important;\n}\n\n.oc-input {\n background-color: #fff;\n border: 1px solid #fff;\n border-radius: 3px;\n height: 40px;\n width: 300px;\n padding: 16px;\n box-sizing: border-box;\n font-size: 1rem;\n}\n\n.oc-label {\n color: #fff;\n display: inline-block;\n margin-bottom: 5px;\n}\n\n.oc-input.error {\n outline: none;\n border: 1px solid #fe4600;\n}\n\n.MuiTypography-colorError {\n color: #fe4600 !important;\n}\n\n.oc-input:focus {\n outline: none;\n border: 1px solid #fff;\n}\n\n.oc-input + .oc-input {\n margin-top: 15px;\n}\n\n.MuiTouchRipple-root {\n display: none !important;\n}\n\n.oc-button {\n /* Needs to be important to overwrite material-ui */\n font-size: 1.0625rem !important;\n}\n\n.oc-button-primary {\n /* Needs to be important to overwrite material-ui */\n width: 100%;\n background: linear-gradient(to right, #2c588e, #4e85c8) -1px;\n background-size: 103% !important;\n border: 1px solid transparent !important;\n}\n\n.oc-checkbox-dark svg {\n /* Needs to be important to overwrite material-ui */\n fill: white !important;\n}\n\n.oc-footer-message {\n color: white;\n padding: 10px;\n font-size: 0.8rem;\n}\n\n@media only screen and (max-width: 768px) {\n .oc-logo {\n height: 60px;\n top: -90px;\n }\n}\n\n/* Helpers */\n.oc-mt-l {\n margin-top: 24px !important;\n}\n\n.oc-mb-m {\n margin-bottom: 20px !important;\n}\n\n.oc-light {\n color: #fff !important;\n}\n\n.oc-login-form div:not(:last-of-type) {\n margin-bottom: 15px;\n}\n\n/*\n * Special SR classes\n * Used to hide an element visually, but keeping it accessible for accessibility tools.\n */\n.oc-invisible-sr {\n border: 0 !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n height: 1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n /* Need to make sure we override any existing styles. */\n position: absolute !important;\n top: 0;\n white-space: nowrap;\n width: 1px !important;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""} |