<?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 Grant access to field only based on ACL with dynamic conditions, not a role in SPM forum</title>
    <link>https://www.servicenow.com/community/spm-forum/grant-access-to-field-only-based-on-acl-with-dynamic-conditions/m-p/2694669#M40912</link>
    <description>&lt;P&gt;Hi all - I've seen some solutions regarding what I'm attempting to do, but they seem to all involve granting roles to users, which I'm trying to avoid. Here is what I'm attempting to do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Custom table we'll call "x" - with read and write access restricted to admin users and fulfillers of said table&lt;/P&gt;&lt;P&gt;No problems there&lt;/P&gt;&lt;P&gt;Next, I have a custom user reference field we'll name &lt;STRONG&gt;"custom user"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And below the custom field, I have another we will call &lt;STRONG&gt;"custom user comments"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This reference is dynamic and can be used for any user, regardless of role or no roles at all.&lt;/P&gt;&lt;P&gt;No problems there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This user needs write access to the custom field &lt;STRONG&gt;"custom user comments"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This user is already granted read access to the whole ticket via an ACL, that works great&lt;/P&gt;&lt;P&gt;What I can't sort out is how to write an ACL based on &lt;STRONG&gt;dynamic conditions NOT A ROLE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The conditions I'm wanting to use are &lt;STRONG&gt;"custom user" &amp;gt; is (dynamic) &amp;gt; ME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I can make this happen, I don't need to require stakeholders to assign users to another group with a role inheritance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 20:27:47 GMT</pubDate>
    <dc:creator>Paul McCurnin</dc:creator>
    <dc:date>2023-10-06T20:27:47Z</dc:date>
    <item>
      <title>Grant access to field only based on ACL with dynamic conditions, not a role</title>
      <link>https://www.servicenow.com/community/spm-forum/grant-access-to-field-only-based-on-acl-with-dynamic-conditions/m-p/2694669#M40912</link>
      <description>&lt;P&gt;Hi all - I've seen some solutions regarding what I'm attempting to do, but they seem to all involve granting roles to users, which I'm trying to avoid. Here is what I'm attempting to do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Custom table we'll call "x" - with read and write access restricted to admin users and fulfillers of said table&lt;/P&gt;&lt;P&gt;No problems there&lt;/P&gt;&lt;P&gt;Next, I have a custom user reference field we'll name &lt;STRONG&gt;"custom user"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And below the custom field, I have another we will call &lt;STRONG&gt;"custom user comments"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This reference is dynamic and can be used for any user, regardless of role or no roles at all.&lt;/P&gt;&lt;P&gt;No problems there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This user needs write access to the custom field &lt;STRONG&gt;"custom user comments"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This user is already granted read access to the whole ticket via an ACL, that works great&lt;/P&gt;&lt;P&gt;What I can't sort out is how to write an ACL based on &lt;STRONG&gt;dynamic conditions NOT A ROLE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The conditions I'm wanting to use are &lt;STRONG&gt;"custom user" &amp;gt; is (dynamic) &amp;gt; ME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I can make this happen, I don't need to require stakeholders to assign users to another group with a role inheritance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 20:27:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/grant-access-to-field-only-based-on-acl-with-dynamic-conditions/m-p/2694669#M40912</guid>
      <dc:creator>Paul McCurnin</dc:creator>
      <dc:date>2023-10-06T20:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Grant access to field only based on ACL with dynamic conditions, not a role</title>
      <link>https://www.servicenow.com/community/spm-forum/grant-access-to-field-only-based-on-acl-with-dynamic-conditions/m-p/2712050#M41052</link>
      <description>&lt;P&gt;This article helped guide me down the right path:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-forum/i-wanted-to-give-write-access-to-only-one-field-on-form-using/m-p/1727135" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/i-wanted-to-give-write-access-to-only-one-field-on-form-using/m-p/1727135&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially, I wrote multiple ACLs allowing the dynamic condition to work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fulfiller: Read and Write to Table; Write to * (all fields on form) (Role Based ACL)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Custom User: Read to Table; Write Access to specific field(s) with condition "Custom User" &amp;gt; is(Dynamic) &amp;gt; Me (Non-Role based ACL, conditional only)&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 16:45:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/grant-access-to-field-only-based-on-acl-with-dynamic-conditions/m-p/2712050#M41052</guid>
      <dc:creator>Paul McCurnin</dc:creator>
      <dc:date>2023-10-24T16:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Grant access to field only based on ACL with dynamic conditions, not a role</title>
      <link>https://www.servicenow.com/community/spm-forum/grant-access-to-field-only-based-on-acl-with-dynamic-conditions/m-p/2712052#M41053</link>
      <description>&lt;P&gt;This did not work&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 16:46:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/grant-access-to-field-only-based-on-acl-with-dynamic-conditions/m-p/2712052#M41053</guid>
      <dc:creator>Paul McCurnin</dc:creator>
      <dc:date>2023-10-24T16:46:27Z</dc:date>
    </item>
  </channel>
</rss>

