<?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>topic Permissions required for ArcGIS Server and attribute rules in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/permissions-required-for-arcgis-server-and/m-p/781561#M1593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an ArcGIS Server install that accesses feature classes in our enterprise geodatabase using a windows domain account.&amp;nbsp; The account is explicitly given permissions on feature classes using ArcCatalog. The db is registered as a data store in Server Manager using an OS authenticated connection.&amp;nbsp; We also have a data owner account with its own schema and an SDE user/schema as per normal.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am encountering an issue when trying to publish services (and edit in a web app) that use&amp;nbsp;a database sequence to generate a unique ID as per&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/220462-using-unique-id-using-attribute-rules"&gt;https://community.esri.com/thread/220462-using-unique-id-using-attribute-rules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create the&amp;nbsp;database sequence using the GIS data owner, but this is not immediately available to the&amp;nbsp;ArcGIS Server user.&amp;nbsp; There doesn't appear to be a way to give the ArcGIS Server user permissions on it in Arc-anything.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try and edit the service with the attribute rule the edits fail with an error saying the db sequence could not be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to give read permissions on the sequence to the ArcGIS Server user in SQL server manager, but this doesn't seem to help. Maybe I am doing it wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I register a connection to the db in ArcGIS Server manager using the gis data owner account and publish the service using that connection then everything works as I would expect, the edits work and the ID is automatically incremented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, tldr: do we have to publish services with attribute rules that use sequences from a data owner&amp;nbsp;connection, and if not, how do we give the&amp;nbsp;ArcGIS Server user the correct permissions on the sequence so the attribute rule works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2019 02:28:24 GMT</pubDate>
    <dc:creator>Marc_Graham</dc:creator>
    <dc:date>2019-07-22T02:28:24Z</dc:date>
    <item>
      <title>Permissions required for ArcGIS Server and attribute rules</title>
      <link>https://community.esri.com/t5/geodatabase-questions/permissions-required-for-arcgis-server-and/m-p/781561#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an ArcGIS Server install that accesses feature classes in our enterprise geodatabase using a windows domain account.&amp;nbsp; The account is explicitly given permissions on feature classes using ArcCatalog. The db is registered as a data store in Server Manager using an OS authenticated connection.&amp;nbsp; We also have a data owner account with its own schema and an SDE user/schema as per normal.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am encountering an issue when trying to publish services (and edit in a web app) that use&amp;nbsp;a database sequence to generate a unique ID as per&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/220462-using-unique-id-using-attribute-rules"&gt;https://community.esri.com/thread/220462-using-unique-id-using-attribute-rules&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create the&amp;nbsp;database sequence using the GIS data owner, but this is not immediately available to the&amp;nbsp;ArcGIS Server user.&amp;nbsp; There doesn't appear to be a way to give the ArcGIS Server user permissions on it in Arc-anything.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try and edit the service with the attribute rule the edits fail with an error saying the db sequence could not be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to give read permissions on the sequence to the ArcGIS Server user in SQL server manager, but this doesn't seem to help. Maybe I am doing it wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I register a connection to the db in ArcGIS Server manager using the gis data owner account and publish the service using that connection then everything works as I would expect, the edits work and the ID is automatically incremented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, tldr: do we have to publish services with attribute rules that use sequences from a data owner&amp;nbsp;connection, and if not, how do we give the&amp;nbsp;ArcGIS Server user the correct permissions on the sequence so the attribute rule works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 02:28:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/permissions-required-for-arcgis-server-and/m-p/781561#M1593</guid>
      <dc:creator>Marc_Graham</dc:creator>
      <dc:date>2019-07-22T02:28:24Z</dc:date>
    </item>
  </channel>
</rss>

