You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add readonly mode
tested with create spaces/datasets/files but might be missing special cases.
fixes#405
* more readonly checks
* send email with correct status
* allow to download (based on permission)
* fix user status email
* typo
* fix page for user change
* use latest checkout action
* bump java action to v3
* update cache
---------
Co-authored-by: Luigi Marini <[email protected]>
caseSome(u) if!AppConfiguration.acceptedTermsOfServices(u.termsOfServices) =>Future.successful(Unauthorized("Terms of Service not accepted"))
90
90
caseSome(u) if (u.status ==UserStatus.Inactive) =>Future.successful(Unauthorized("Account is not activated"))
91
+
caseSome(u) if (u.status ==UserStatus.ReadOnly&&!api.Permission.READONLY.contains(permission) && permission !=Permission.DownloadFiles) =>Future.successful(Unauthorized("Account is ReadOnly"))
91
92
caseSome(u) if u.superAdminMode ||Permission.checkPermission(userRequest.user, permission, resourceRef) => block(userRequest)
0 commit comments