The CreatorCon Call for Content is officially open! Get started here.

Hide the records of a specific class from cmdb_ci_server table list view for all the users

SK41
Giga Guru

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!

1 ACCEPTED SOLUTION

Vishnu Prasad K
Giga Guru

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

View solution in original post

8 REPLIES 8

Alok Gupta5
Tera Guru
Tera Guru

Hello,

Can you please write an table level ACL to restrict the users for list view.

 

Regards,

Alok Gupta

can you please guide me how to do that?

I want the records with class as "network server" should not be visible to anyone.

Hello,

you can specify the read ACL like below and mention the role to allow certain users with this role can view this table with class as "network server".

 

SulabhGarg_0-1664871768596.png

 

Please Mark Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

i want to hide it from all the users whether it is admin or someone else