Hameed
4 years agoQrew Member
User with Multiple Roles to be Allowed to Decide on the Role.
Hi,
I have a user (using same email ID) which is part of two roles:
User --- Role ----- Projects
User1 --- Officers ----- Project1
User1 --- Managers. ----- Project2
Both Project1 and Project2 are parts of the same app. The user1 in the 'Officer' role for Project1, and in 'Managers' role in Project2. When I login as User1, I should only have limited access to Project1 data, but when I login as User2, then I should have access to many columns and rows in the Project2. Is there a way that I allow user to choose which role he/she is using while logging in?
I know the role in the top of the order (App Settings...) gets precedence, but I want user to decide on the role while logging in.
Your thoughts will be highly appreciated.
------------------------------
Hameed
------------------------------
I have a user (using same email ID) which is part of two roles:
User --- Role ----- Projects
User1 --- Officers ----- Project1
User1 --- Managers. ----- Project2
Both Project1 and Project2 are parts of the same app. The user1 in the 'Officer' role for Project1, and in 'Managers' role in Project2. When I login as User1, I should only have limited access to Project1 data, but when I login as User2, then I should have access to many columns and rows in the Project2. Is there a way that I allow user to choose which role he/she is using while logging in?
I know the role in the top of the order (App Settings...) gets precedence, but I want user to decide on the role while logging in.
Your thoughts will be highly appreciated.
------------------------------
Hameed
------------------------------