Tushar
12/22/2023, 7:26 AMrp_st
12/22/2023, 7:31 AMadmin -> []
admin-userA -> [p1]
admin-userB -> [p2]
In the above, we have mapped admin to no permissions, but have mapped admin-userA to permission p1, and admin-userB to permission p2
So you could assign roles admin and admin-userA to userA and roles admin and admin-userB to userB.
This way, the affective permissions for the users would be different, and yet, you can check that both, userA and userB have the admin role or not.Tushar
12/22/2023, 7:34 AMrp_st
12/22/2023, 7:34 AMrp_st
12/22/2023, 7:35 AMrp_st
12/22/2023, 7:35 AMrp_st
12/22/2023, 7:35 AM