How to build a role based access and corresponding home pages?
‎Apr 20, 2018
01:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Apr 20, 2018
01:07 AM
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
‎Apr 20, 2018
03:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Apr 20, 2018
03:06 AM
You can programatically set Home Mashup for each user depending on the Role he has.
Users["userName"].SetHomeMashup({ name: "mashup_based_on_user_role" });
‎Apr 20, 2018
03:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Apr 20, 2018
03:09 AM
where should i set this?
‎Apr 20, 2018
03:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Apr 20, 2018
03:13 AM
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.