-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-frontend,dcache-webdav: use RolePrincipal instead of LoginAttr…
…ibutes roles Motivation: modification of the QoS of files; but this mechanism offers a simpler solution for defining roles in the frontend as well. Modification: Replace the definition of the `admin` privileges based on the assertion of the `RolesPlugin` `DesiredRole` with one which inspects the user's Subject for the `RolePrincipal`. Result: No need to assert a desired role; roles are assigned automatically on the basis of user mappings in the `Multimap` plugin. This greatly facilitates the use of administrative-restrictive functions in `dCacheView` and `Swagger` (see the next patch, Target: master Patch: https://rb.dcache.org/r/14083/ Requires-notes: yes (eventually pointing to the deprecation of the use of the RolesPlugin). Acked-by: Tigran
- Loading branch information
Showing
4 changed files
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters