ACL for audit

Arun Priya
Tera Contributor

I have enabled audit for a table to see the history list in a table. Currently it is used for all users. But this should shown only for a specific role not for others. Do anyone have idea on this? Can we implement through ACL.

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Arun Priya 

are you saying the activity log should be shown/hidden based on some role?

if yes then no direct way.

You will have to use onLoad client script and check role of logged in user and use DOM manipulation.

Note: DOM manipulation is not recommended practice

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Ankur Bawiskar 

Not in the form view. I have attached the screenshot

Hi @Arun Priya ,

 

Please check this documentation - https://www.servicenow.com/docs/bundle/yokohama-platform-security/page/administer/security/task/t_Co...

 

Procedure

  1. Navigate to All > System Properties > System.
  2. Select the glide.history.role property from the table.
  3. In the List of roles (comma-separated) that can access the history of a record, select the user roles you want to access history.

Please make this answer helpful so that this can benifit others, Thank you!

 

Thanks,

Afrith

@Afrith Shariff  

 

Can we apply this only for a particular table?