<?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 Allow user with a specific role to be able to add/remove group member for group with specific type in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728267#M506989</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Requirement is that if user has a role "custom_admin"(this role has been created in a custom app) and the group type is either patch or ops, then this user should be able to&amp;nbsp; add or remove members from the group. to achieve this, i have written 3 ACL's on sys_user_grmember table with operation as read, write, delete and create and have defined this condition and roles. I am able to view the group members, it also gives the new button on gr member table, but doesnt give the edit option. I am also able to select the member and delete from list view post impersonating. could you please assist on how i can achieve the edit option to show up on the groupmember table in list view of groups as per the condition?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i do not see any error or warning in the ACL debugging as well&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 14:41:03 GMT</pubDate>
    <dc:creator>Atheher Fathima</dc:creator>
    <dc:date>2023-11-09T14:41:03Z</dc:date>
    <item>
      <title>Allow user with a specific role to be able to add/remove group member for group with specific type</title>
      <link>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728267#M506989</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Requirement is that if user has a role "custom_admin"(this role has been created in a custom app) and the group type is either patch or ops, then this user should be able to&amp;nbsp; add or remove members from the group. to achieve this, i have written 3 ACL's on sys_user_grmember table with operation as read, write, delete and create and have defined this condition and roles. I am able to view the group members, it also gives the new button on gr member table, but doesnt give the edit option. I am also able to select the member and delete from list view post impersonating. could you please assist on how i can achieve the edit option to show up on the groupmember table in list view of groups as per the condition?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i do not see any error or warning in the ACL debugging as well&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 14:41:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728267#M506989</guid>
      <dc:creator>Atheher Fathima</dc:creator>
      <dc:date>2023-11-09T14:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Allow user with a specific role to be able to add/remove group member for group with specific ty</title>
      <link>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728292#M506990</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/213418"&gt;@Atheher Fathima&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Check the &lt;EM&gt;&lt;STRONG&gt;List Control &lt;/STRONG&gt;&lt;/EM&gt;for edit button setting/configuration on group members form , if there is any condition or role based permissions applied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshishKMishra_0-1699541742265.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/303794i22EB3970994C56ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AshishKMishra_0-1699541742265.png" alt="AshishKMishra_0-1699541742265.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Thanks&lt;/P&gt;&lt;P&gt;AshishKMishra&lt;/P&gt;&lt;P&gt;Please &lt;EM&gt;&lt;STRONG&gt;accept solution&lt;/STRONG&gt;&lt;/EM&gt; and mark &lt;STRONG&gt;&lt;EM&gt;helpful&lt;/EM&gt;&lt;/STRONG&gt; for others if it helps you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 14:58:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728292#M506990</guid>
      <dc:creator>AshishKM</dc:creator>
      <dc:date>2023-11-09T14:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Allow user with a specific role to be able to add/remove group member for group with specific ty</title>
      <link>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728308#M506991</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/230435"&gt;@AshishKM&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;no we do not have any condition defined. I tried to define the condition as below, but it did not work either&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;var answer = false; // Show the 'Edit' button by default&lt;/P&gt;&lt;P&gt;if (gs.hasRole('admin')) {&lt;BR /&gt;// Check if the 'type' field of the group matches the specified values&lt;BR /&gt;if (current.group.type == 'a71806121be7d11068ff86e3604bcb1c' || current.group.type == '0024365e1babd11068ff86e3604bcbaa') {&lt;BR /&gt;answer = true; // Allow 'Edit' button for users with the specified role and when the 'type' condition is met&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;answer;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:10:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728308#M506991</guid>
      <dc:creator>Atheher Fathima</dc:creator>
      <dc:date>2023-11-09T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Allow user with a specific role to be able to add/remove group member for group with specific ty</title>
      <link>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728346#M506996</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think , this script code from the write ACL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you sure about the &lt;STRONG&gt;If condition&lt;/STRONG&gt; check in your code , as you said there is "&lt;STRONG&gt;custom_admin&lt;/STRONG&gt;" role but condition is checking "&lt;STRONG&gt;admin&lt;/STRONG&gt;" role.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if (gs.hasRole('admin')) {&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Thanks,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;accept solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;and mark&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helpful&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;for others if it helps you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:38:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728346#M506996</guid>
      <dc:creator>AshishKM</dc:creator>
      <dc:date>2023-11-09T15:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Allow user with a specific role to be able to add/remove group member for group with specific ty</title>
      <link>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728355#M506997</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/230435"&gt;@AshishKM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry about the confusion, the code i shared was something i had written under omit edit condition on group member table edit list.&lt;BR /&gt;below is the snippet of the ACL . i am masking the name of the role&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AtheherFathima_0-1699544577165.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/303819i85BA62299D0DE7AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AtheherFathima_0-1699544577165.png" alt="AtheherFathima_0-1699544577165.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did verify that the role is entered correctly in the omit edit condition&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 15:43:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/2728355#M506997</guid>
      <dc:creator>Atheher Fathima</dc:creator>
      <dc:date>2023-11-09T15:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Allow user with a specific role to be able to add/remove group member for group with specific ty</title>
      <link>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/3296076#M542380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/213418"&gt;@Atheher Fathima&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever find a solution for this ? I am facing the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tx.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 07:45:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/allow-user-with-a-specific-role-to-be-able-to-add-remove-group/m-p/3296076#M542380</guid>
      <dc:creator>EllenVDW</dc:creator>
      <dc:date>2025-06-23T07:45:15Z</dc:date>
    </item>
  </channel>
</rss>

