<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Restrict access to Email templates based on role and table in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250376#M539701</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an OOTB ACL for the 'sys_email_client_template' table. See below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rafas_10_0-1745932424919.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/438606i6430AA22D8B2AEF6/image-size/medium?v=v2&amp;amp;px=400" srcset="/community/image/serverpage/image-id/438606i6430AA22D8B2AEF6/image-size/medium?v=v2&amp;amp;px=400 1.0x" role="button" title="rafas_10_0-1745932424919.png" alt="rafas_10_0-1745932424919.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is restricting based on the role. I want to keep this ACL but also create a new one to restrict users so they are not able to see records when the table is 'sn_hr_core_case'. If I duplicate this one and on applies to select table 'sn_hr_core_case' the records keep showing for regular users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I prevent the display of every record from the 'sn_hr_core_case' table without deleting this ACL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Goal is the following:&lt;/P&gt;&lt;P&gt;Users with 'email_client_template_read' role can see email templates for every table except the 'sn_hr_core_case'.&lt;/P&gt;&lt;P&gt;To view 'sn_hr_core_case' they need admin role.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But a user can have the admin role and the&amp;nbsp;email_client_template_read. If that happens, I want it to follow the admin role ACL and not the email_client_template_read ACL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Apr 2025 13:15:01 GMT</pubDate>
    <dc:creator>rafas_10</dc:creator>
    <dc:date>2025-04-29T13:15:01Z</dc:date>
    <item>
      <title>Restrict access to Email templates based on role and table</title>
      <link>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250376#M539701</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an OOTB ACL for the 'sys_email_client_template' table. See below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rafas_10_0-1745932424919.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/438606i6430AA22D8B2AEF6/image-size/medium?v=v2&amp;amp;px=400" srcset="/community/image/serverpage/image-id/438606i6430AA22D8B2AEF6/image-size/medium?v=v2&amp;amp;px=400 1.0x" role="button" title="rafas_10_0-1745932424919.png" alt="rafas_10_0-1745932424919.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is restricting based on the role. I want to keep this ACL but also create a new one to restrict users so they are not able to see records when the table is 'sn_hr_core_case'. If I duplicate this one and on applies to select table 'sn_hr_core_case' the records keep showing for regular users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I prevent the display of every record from the 'sn_hr_core_case' table without deleting this ACL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Goal is the following:&lt;/P&gt;&lt;P&gt;Users with 'email_client_template_read' role can see email templates for every table except the 'sn_hr_core_case'.&lt;/P&gt;&lt;P&gt;To view 'sn_hr_core_case' they need admin role.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But a user can have the admin role and the&amp;nbsp;email_client_template_read. If that happens, I want it to follow the admin role ACL and not the email_client_template_read ACL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:15:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250376#M539701</guid>
      <dc:creator>rafas_10</dc:creator>
      <dc:date>2025-04-29T13:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict access to Email templates based on role and table</title>
      <link>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250390#M539703</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/456930"&gt;@rafas_10&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is a duplicate thread. please avoid the same.&lt;/P&gt;
&lt;P&gt;you already created a question for the same earlier and discussion is going on that thread.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:24:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250390#M539703</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-04-29T13:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict access to Email templates based on role and table</title>
      <link>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250424#M539706</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/265966"&gt;@Ankur Bawiskar&lt;/a&gt;&amp;nbsp; Indeed but I created in the wrong forum and I can't delete it. Therefore I created in the right forum.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:44:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250424#M539706</guid>
      <dc:creator>rafas_10</dc:creator>
      <dc:date>2025-04-29T13:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict access to Email templates based on role and table</title>
      <link>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250437#M539708</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/456930"&gt;@rafas_10&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;admin will have email_client_template_read role&lt;/P&gt;
&lt;P&gt;So you cannot restrict it using roles, you can use script and check explicit roles using gs.hasRole('admin') etc&lt;/P&gt;
&lt;P&gt;1) so for "sn_hr_core_case" only admin role is required -&amp;gt; create a new table.None and give admin in roles&lt;/P&gt;
&lt;P&gt;2) in the OOTB one, you should update the condition&lt;/P&gt;
&lt;P&gt;please use access analyzer and debug which ACL is blocking&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:52:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/restrict-access-to-email-templates-based-on-role-and-table/m-p/3250437#M539708</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-04-29T13:52:35Z</dc:date>
    </item>
  </channel>
</rss>

