-
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.
common,gplazma-multimap,dcache-qos: qos role authorization, revised
Motivation: https://rb.dcache.org/r/14070/ master@410762eb5596ab73b49d45fd9635a9204ad7f0b1 introduced qos role authorization principals using multimap definitions. This first pass, however, was based on a misunderstanding. Modification: This patch rectifies the misunderstanding. The syntax and semantics for role definition is now as follows: The RolePrincipal will contain a set of roles. It will be constructable in the multimap file using `roles:admin,qos-user,qos-group`. - `admin` translates to current admin privileges (all files) - `qos-user` translates to qos privileges on files where the file owner matches the UidPrincipal to which the user is mapped. - `qos-group` translates to qos privileges on files where the file group matchs the primary GidPrincipal to which the user is mapped. Both qos roles can be assigned to a user at the same time if desired. Result: A more proper implementation of the concept. Target: master Patch: https://rb.dcache.org/r/14080/ Requires-notes: yes Acked-by: Tigran
- Loading branch information
Showing
11 changed files
with
109 additions
and
311 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
74 changes: 0 additions & 74 deletions
74
modules/common/src/main/java/org/dcache/auth/AdminRolePrincipal.java
This file was deleted.
Oops, something went wrong.
89 changes: 0 additions & 89 deletions
89
modules/common/src/main/java/org/dcache/auth/QoSPlaceholderRolePrincipal.java
This file was deleted.
Oops, something went wrong.
79 changes: 0 additions & 79 deletions
79
modules/common/src/main/java/org/dcache/auth/QoSRolePrincipal.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.