how to give access only for Incident module

sry
Giga Guru

Hi All,

                      How can i give a user access to only Incidents(Create,Read,Update) and no permissions for Changes,Problems. and also he should not delete any incidents.

I have tried by creating a new role and a new ACL "Incident* write" but its not giving the permissions for all the fields, still the user is able to see only few fields9assignment_group,summary,description). How to create ACL's to give access only to Incidents instead of giving ITIL role.

Thanks,

Sry

1 ACCEPTED SOLUTION

"I   have only one issue, when the user "create new" incident he is not able to view all the fields on incident table".-- If   ACL set correctly and updated the incident query BR..next may be to check is the view . Please check the view.[self service view.. Default ] etc.


View solution in original post

12 REPLIES 12

"I   have only one issue, when the user "create new" incident he is not able to view all the fields on incident table".-- If   ACL set correctly and updated the incident query BR..next may be to check is the view . Please check the view.[self service view.. Default ] etc.


Hi Reghuram,


                                                Thank you very very much for your valuable information. after your input i did search on VIEWS in wiki and find an interesting business rule called INCIDENT FUNCTIONS. and i updated this business rule with my custom role and it worked perfectly. Given below is the reference URL for wiki link and the snippet of the code where i included my custom role



wiki link: http://wiki.servicenow.com/index.php?title=Restrict_Form_Views_by_Role#gsc.tab=0



where you should add your custom role:


function incidentGetViewName() {


  if (gs.hasRole("itil")   || gs.hasRole("your_custom_role"))



Thank you very much guys for all your help especially Pradeep and Reghuram,


sry


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Sry,



My bad. I forgot to mention about the BR(Incident functions) in my previous note.


Glad your issue is resolved now.



Can you please mark our response as correct/helpful and close the thread.


hi pradeep, unfortunately i cant see helpful option to check both yours and reghuram's solutions. i can see only correct answer. am i missing anything here,


thanks,


sry


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Thanks Sry for the update. Not sure why the button is missing. You can mark any response and close the loop.(I am okay with it )