* 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>
2 lines
3.7 KiB
CSS
2 lines
3.7 KiB
CSS
body,html{height:100%}body{margin:0;padding:0}#bg{background:#fff;bottom:0;left:0;position:fixed;right:0;top:0}#loader{bottom:6%;color:#666;font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;left:50%;position:absolute;transform:translate(-50%,-50%)}#loader>a{color:#1e98d7}#font-preloader{color:#fff;font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:400;position:absolute;top:-500px}#font-preloader>span{font-weight:500}#root{display:flex;height:100%}*{scrollbar-color:#ddd #f5f5f5;scrollbar-width:thin}body:hover *{scrollbar-color:#bdbdbd #f5f5f5}::-webkit-scrollbar{background:#0000;height:8px;overflow:visible;width:8px}::-webkit-scrollbar-corner{background:#f5f5f5;display:none}::-webkit-scrollbar-button{display:none;height:0;width:0}::-webkit-scrollbar-button:end:increment,::-webkit-scrollbar-button:start:decrement{display:block}::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{display:none}::-webkit-scrollbar-track{-moz-background-clip:border;-webkit-background-clip:border;background-clip:padding-box;background-color:#f5f5f5}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#ddd;border-radius:4px;min-height:40px;padding-top:100px}::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-track:vertical{border-left-width:0;border-right-width:0}::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-track:vertical{border-color:#0000;border-style:solid}::-webkit-scrollbar-thumb:hover{background-color:#bdbdbd}::-webkit-scrollbar-thumb:active{background-color:#989898}::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-thumb:vertical{border-width:0}body:hover ::-webkit-scrollbar-thumb{background-color:#bdbdbd}@font-face{font-family:Inter;font-style:oblique 0deg 12deg;font-weight:100 900;src:url(../../static/media/inter.d5c51099..woff2) format("woff2"),url(../../static/media/inter.aadb65ac..ttf) format("truetype")}html{font-feature-settings:"cv11"}body{font-family:Inter,sans-serif}strong{font-weight:600}.oc-login-bg{background-image:url(../../static/media/background.7296b9ab..jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;display:flex;width:100%;z-index:0}#loader{color:#fff;text-shadow:#000 0 0 1px}.oc-logo{height:80px;left:50%;position:absolute;top:-130px;transform:translateX(-50%)}.oc-progress{background-color:#4e85c8cc!important;height:4px;width:100px}.oc-progress>div{background-color:#4a76ac!important}.oc-input{background-color:#fff;border:1px solid #fff;border-radius:3px;box-sizing:border-box;font-size:1rem;height:40px;padding:16px;width:300px}.oc-label{color:#fff;display:inline-block;margin-bottom:5px}.oc-input.error{border:1px solid #fe4600;outline:none}.MuiTypography-colorError{color:#fe4600!important}.oc-input:focus{border:1px solid #fff;outline:none}.oc-input+.oc-input{margin-top:15px}.MuiTouchRipple-root{display:none!important}.oc-button{font-size:1.0625rem!important}.oc-button-primary{background:linear-gradient(90deg,#2c588e,#4e85c8) -1px;background-size:103%!important;border:1px solid #0000!important;width:100%}.oc-checkbox-dark svg{fill:#fff!important}.oc-footer-message{color:#fff;font-size:.8rem;padding:10px}@media only screen and (max-width:768px){.oc-logo{height:60px;top:-90px}}.oc-mt-l{margin-top:24px!important}.oc-mb-m{margin-bottom:20px!important}.oc-light{color:#fff!important}.oc-login-form div:not(:last-of-type){margin-bottom:15px}.oc-invisible-sr{border:0!important;clip:rect(1px,1px,1px,1px)!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;top:0;white-space:nowrap;width:1px!important}
|
|
/*# sourceMappingURL=main.46162c75.css.map*/ |