ACL for SC_task access...

bennyphipps
Giga Expert

Hi,

I've created a new workflow for a business area and want to send them catalog tasks to perform some work...

I don't want them to have the access provided by the ITIL role out of the box but I do want them to have access to the sc_task table to view and update catalog tasks.

With ITIL role they have all the functionality (but access to more applications than I want them to).   Role query.PNG

My role (note: no access )

Role queryv2.PNG

I've created a new role called "u_wealth_service_catalogue_user" that I have setup on the associated applications/modules and Iw ant users with this role to have access to sc_task to view tasks.

I tried adding a ACL but it did not seem to work so I suspect I was doing something wrong but I know there's a relationship between task and sc_task so was not sure if I was doing something wrong.   I'd like to also be able to limit these roles to only be able to amend certain fields in sc_task as well if someone can advise me.that'd be really helpful.

Kind regards,

Ben

1 ACCEPTED SOLUTION

Ben,



There will be two level ACL's Table level ACL which is given by sc_task.--None--. Also, there will be read ACL's on individual fields.


If you go to the ACL's for that table you will see individual field ACL's and you need to have similar ACL's for your role aslo.


View solution in original post

7 REPLIES 7

manikorada
ServiceNow Employee
ServiceNow Employee

Ben,



Try to do Debug Security Rules and you will see which ACL is failing.


bennyphipps
Giga Expert

This is the ACL I setup:


Role queryv3.PNG


debugging shows this when I impersonate this user:


debug.PNG



any ideas?


Ben,



You need to set up a similar type of ACL on sc_task.--None-- , you need to have row level ACL and table level ACL to get access


Ok thanks...



that's got me much further but the user now can only see a select bunch of fields... not all of them which are default on the form:


default.PNG



user sees:


role acl.PNG




I managed to make the UI ACtions visible easily enough by restricting to the role but I'd expect the work notes field to be visible as well...?


I even tried added a write ACL for the work_notes field for that role...



Admin sees:


worknotes.PNG



I thought the generic read.* would show all fields???



sorry for being a pain and thanks for the help