How can i hide a custom table(custom app) from admin ?

krishna60
Kilo Contributor

I am trying to hide a custom table from admin. so that table is not shown in the application navigator while searching for it.
I created an ACL read for table and with unchecked admin override and a small script. I even did the same with write, create and delete ACLS(in case they are giving read access by default) but still table is not hidden from admin. any solution please?find_real_file.pnga small script 

10 REPLIES 10

Azim Kazi
Giga Guru

Hi Krishna,

 

there is no need to write ACL you just go application navigator for eg. i am having dateTables

 

find_real_file.png 

 

Click on Pencil symbol there below window get populated then give roles those you want to show this table 

find_real_file.png

Hope this will help you!!

If my response helps you then kindly mark my answer helpful 👍and correct ✔otherwise if any query 🤔 feel free to ask further.

 

Regards,

Ajim.

 

 

 

 

 

 

thanks for the answer but please read my question carefully. I am trying to hide from Admin.

Hi Krishna,

 

yes, as far as i get know that admin having super role so use script once shown below

business rule

before

query

 

 

if(gs.getUser().isMemberOf('Group_name') && gs.getUser().hasRole('admin'))

 

  {

 

  var car= current.addQuery('title','!=','Self-Service');

 

  }

 

make sure you have cleared browser cache before running this script

 

make some modification as per your requirement as i have just copied and pasted from my personal instance which was as per my requirement