how can I limit who can create incident templates that can be used by all ITIL users

heidiyablonski
Tera Contributor

Hello, we are going live next week and I'm being asked to allow a specific user to create template for all ITIL users to have access to and restrict anyone else from creating any templates.   Would this be something I should use a catalog UI script to accomplish and if so, how would I configure it.

Any assistance or direction is greatly appreciated

Thank you in advance,

Heidi

2 REPLIES 2

amlanpal
Kilo Sage

Hi Heidi,



You may look at the below 2 threads. You can get the guidance to opt any of the 2 options to do so. Either you can go to modify the OOB UI Macro named 'template_context' or you may go to write script based on condition like


if (g_user.userID != '1eb995076f432200f9ac52b10b3ee465'){   //Pass the sys_id of that user


  gel('template-toggle-button').style.display = 'none';


  }



1.   I want to remove the "Templates" option from the header right click options on change form. Does any...


2. How to disable the template bar in Geneva?



I hope this helps.Please mark correct/helpful based on impact


Somveer Karhan1
Giga Expert

Hi Heidi,



By Default, Templates can be created only by Admins or users who have one of the below roles assigned to them. Hence you need not do any customization to the system, just manage the roles appropriately.


find_real_file.png


For allowing only specific people to create templates, assign them with any of the above roles according to your requirements. Those who do not have these roles, will not be able to create templates.


Also please note template_editor is included in the itil role in the base system, in order that it's not assigned to unnecessary people, please exclude this role from the itil role. Follow below steps to do so:


1. Navigate to User Administration -> Roles, and search for itil.


2. From the Contains Role related list, click Edit.


find_real_file.png


3. Remove template_editor from the selected list and click Save.



Refer below link for complete list of Base System Roles.


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



PS: Hit Like, Helpful and Correct based on the impact of this comment.