cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to build a role based access and corresponding home pages?

challa
4-Participant

How to build a role based access and corresponding home pages?

I have a system where the login has different roles. How can i build a uniform login page and navigate to respective home pages after login. 

3 REPLIES 3

You can programatically set Home Mashup for each user depending on the Role he has.

 

Users["userName"].SetHomeMashup({ name: "mashup_based_on_user_role" });

challa
4-Participant
(To:CarlesColl)

where should i set this?

You can have a custom service to assign a role to a user (as there isn't User related events) and on this service to the previous instruction.

 

Also you can have another service (to check integrity) which iterates over Users and assign the correct Home Mashup.

Top Tags