Brenden Kehren
-
3/23/2013 1:09:17 PM
RE:Multiple roles per user per account
Thanks Juraj. So you see my delima now. The problem is when this user logs in they are authenticated and permissions take place by the role they are assigned to BUT if they select a different card account with greater access permissions, they will be denied even though they have the allow permissions granted.
Here is a matrix:
User1 Role1 Card1 (primary card holder) User2 Role1 Card2 (primary card holder) User2 Role2 Card1 (secondary card holder, card 1) User3 Role2 Card1 (secondary card holder, card 1) User3 Role2 Card2 (secondary card holder, card 2)
For the above Role1 is a primary, all access granted role. Role2 is a restricted role.
User1 can log in and see what they need without issue.
User2 can log in and by default Card2 is selected and since they are in both Role1 and Role2, they don't have all access to Card2 as they should because Role2 takes over. Once User2 switches to Card1, then the things are correct, but when they switch back to Card2, they are still restricted and they shouldn't be.
|