Give access to users to edit only Business Rules in specific application

Dan Brown2
Kilo Sage

We have purchased and installed a new application that is in its own scope.  I have been asked if several users can have access to view and edit the Business Rules that are on that scope only. 

 

I have created a custom role and applied this to the Business Rule table, but it is not working. 

 

I suspect I am going about this wrong - can anyone help please?

 

Thanks

Dan 

1 ACCEPTED SOLUTION

Dan Brown2
Kilo Sage

Would it be good practice, to give these users the BR admin role and then creating another role BR_application - that is excluded using a Query Business rule to only the BRs in the application?

 if (gs.hasRole('business_rule_editor_myapp') && !gs.hasRole('admin') && gs.getSession().isInteractive())
    {
         var q = current.addQuery('sys_scope=c0457e154fd283002fc1e9628110c7cf');
     }

 

 

View solution in original post

5 REPLIES 5

@Dan Brown2 

yes that would be nice rather than playing with ACLs

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