- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2022 04:19 AM
Hi All,
I have a requirement where i have to hide the records of "network server" class from Server(cmdb_ci_server) table from list view for all the users, so that they cannot see them in the table and access it.
How can i achieve that?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 01:58 AM
Hi,
You have 2 options to do this.
1. ACL - Create a read ACL for network server class table to allow only admin users to see that.
2. Create a before query business rule. Just check if the logged in user has admin role and if yes, then allow and if not, does not show the records. The security constraint restricted message will not be shown in this case

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 02:27 AM
Hello ,
You can create the ACL as mentioned in the screenshot. And in role you can put snc_internal,admin so all the users including admin can not see the record in list view.
Regards,
Alok Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 01:03 AM
@Ankur Bawiskar please suggest?
My previous question posted was somehow lost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 01:58 AM
Hi,
You have 2 options to do this.
1. ACL - Create a read ACL for network server class table to allow only admin users to see that.
2. Create a before query business rule. Just check if the logged in user has admin role and if yes, then allow and if not, does not show the records. The security constraint restricted message will not be shown in this case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 03:24 AM
query business rule worked! thanks