Can a single user have multiple DataKeys? #63
Replies: 1 comment 2 replies
-
|
Hi @michaelswells, The simple answer to the issue title "Can a single user have multiple DataKeys?" is no, a user can't have multiple DataKeys. However, the issue detail makes me think that you might be talking about a different issues. In the AuthP library:
Your use of of the word "Role" and the hierarchy pattern sounds that its not a You also talk about a A user may have many Roles, but the Permissions in all the user's Roles are combined (+ distinct) and turned into astring for the user, where every character in the string holds the value of the Permissions enum. This means its very efficient and fast. I hope my comments help. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Most of my applications have a type of hierarchy (see below) where a user can be assigned multiple roles at different levels within the hierarchy.
I know that claims can have multiple values for Roles. Can this library deal with multiple DataKey claims without the user creating a login for each assigned role or making them choose?
For example:
Role one (set of permissions on program1
and below)Role one (set of permissions on program2
and below)Role two (different set of permissions on program1 - contract1 - packages2)
Role three (different set of permissions on program1 - contract1 - package2 - Library1)
...
Let me clarify what I mean.
FYI.
Note: The user can see all thing assigned to them.
I am also considering that when the user wants to edit an object where multiple roles can do something, they would need to select one of the allowable edit modes, i.e., button: Edit as RoleOne, Edit as RoleThree, etc.
Edit: strike though items referencing ** and below**.
Beta Was this translation helpful? Give feedback.
All reactions