How do I grant full crud access to a specific set of records within a specific table?

patricklatella
Mega Sage

I created a new and unique role for a user, and need this user to be have crud capabilities on a specific category of items within the service catalog.   How is this best achieved?

1 ACCEPTED SOLUTION

bcronrath
Kilo Guru

Enabled the "advanced" portion of the ACL form (basically this will open up a script section).



From there, you can reference the user through the GlideSystem to access roles (or any other unique identifiers for the user) and also use the "current" pointer to look at the record and perform your logic to determine if the "current" record belongs the specific category.   When the logic evaluates to true, set a variable named "answer" to true, otherwise set it to false, and this will allow you to do custom logic on records for ACLs.   More info here:   http://wiki.servicenow.com/index.php?title=Using_Access_Control_Rules#gsc.tab=0


View solution in original post

2 REPLIES 2

bcronrath
Kilo Guru

Enabled the "advanced" portion of the ACL form (basically this will open up a script section).



From there, you can reference the user through the GlideSystem to access roles (or any other unique identifiers for the user) and also use the "current" pointer to look at the record and perform your logic to determine if the "current" record belongs the specific category.   When the logic evaluates to true, set a variable named "answer" to true, otherwise set it to false, and this will allow you to do custom logic on records for ACLs.   More info here:   http://wiki.servicenow.com/index.php?title=Using_Access_Control_Rules#gsc.tab=0


Thanks!