Remove Admin role to view records/fields on specific table

DChandlerKy
Tera Guru

We have built an application per a requirement.   The form and notifications, while simple, work like a charm.   There is no workflow.   The last piece is for us to adjust the ACL's so that only users with a specific role (created when the app/table was created) can view the records. (Yes - everyone is aware that if there is an issue, we will have to add Admin back into the ACL to troubleshoot.)

 

This new table/app was extended off of Task.   I created a Read ACL for each of the fields on the table/form with the specific role and unchecked the "Admin Override" box.   However, I can still see the fields.   A few of the fields are borrowed from the task table, and a few others were created on the new table.

 

Any ideas/suggestions on how to 'lock' Admins out?

 

Thanks,

Diana

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

Tho I personally don't support something like this, you can add this script to the ACL read and it should hide the field from the admin:



var answer = true;


if (gs.hasRole('admin'))


  answer = false;


View solution in original post

5 REPLIES 5

DChandlerKy
Tera Guru

Thank you all!   I wish I could mark you all three as correct.



I don't necessarily agree with the request to make these records private, even from admins.   However, its a very special/specific circumstance that I honestly am happy to oblige (Esp since it gets another area doing more in the tool.).



Thanks again!!


Diana