restrict access to pages/screens based on user roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2017 01:34 PM
I want to restrict access to different pages/screens in my application based to different users.
If i have a user named as John, he should not be able to see catalog page, but another user 'Smith' should be able to see catalog page.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2017 01:46 PM
I highly advised against hard coding specific users in acls. You should implement acls based on roles or if you have to groups. You can also do it based on users in a certain field (for instance, if the current user is the user in the manager field). You don't want to do it by specific users because when they leave then you have to update your code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2017 02:01 PM
Hi Bhatia,
create record level readonly acl for Smith user role ( for example : If Smith is having the itil role crete read acl for itil role),
so that jhon can't access your application.
let me know if you need more help.
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2017 08:40 PM
Hi Rajesh,
this is for a single application. I want to restrict access of different parts in a single application to different users.