<?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 Re: SQL Server 2008 R2 roles and permissions (delete) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410175#M23474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your fast response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I'm still a little bit confused about the concept. But isn't there a difference between the "permissions" you grant within the SQL Server Management Studio and the "privileges" you grant on a single dataset within ArcCatalog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And when I add the "gismanager" to the fixed database role "db_owner", he is able to delete the dataset within ArcCatalog even he is not the owner of the dataset itself. So there should be a permission which enables a user to delete datasets of other users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(But as you wrote, he cannot change the "privileges", since he is not the owner).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 18:17:47 GMT</pubDate>
    <dc:creator>DanielTruessel</dc:creator>
    <dc:date>2013-02-13T18:17:47Z</dc:date>
    <item>
      <title>SQL Server 2008 R2 roles and permissions (delete)</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410173#M23472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I�??m grateful for any kind of help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??ll try to explain the problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We set up a Windows SQL Server 2008 R2. Furthermore we use Windows authentication and the system tables are stored in the schema of dbo. We have a geodatabase (enabled with the gp tool) called �??test�?�, which is not versioned. We added some logins, created users and corresponding schemas. We also created some roles to grant users specific permissions. So far, everything worked well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We would now like to have a user called �??gismanger�?�. He is assigned to db_ddladmin, db_securityadmin, db_datareader and db_datawriter roles and moreover he has the database privileges CREATE TABLE, CREATE PROCEDURE and CREATE VIEW (therefore, we created the role db_creator) and EXECUTE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As we now start ArcCatalog as �??gismanager�?� and we make a connection to the gdb �??test�?�, we can e.g. see all the Feature Classes created by the other users. But we don�??t have the right to delete them (the word delete is grayed out), and that�??s our problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;How can we provide the user �??gismanger�?� with the permission to delete any table in the gdb?&lt;/STRONG&gt;&lt;SPAN&gt; When we add him to the role db_owner, it works, but that�??s not what we want, as he will have too many rights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 13:52:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410173#M23472</guid>
      <dc:creator>DanielTruessel</dc:creator>
      <dc:date>2013-02-13T13:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server 2008 R2 roles and permissions (delete)</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410174#M23473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if "gismanager" didn't load the data, doesn't own it, you won't be able to delete it with that account, even if you give it delete permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the online help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/002q/002q0000002z000000.htm"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/002q/002q0000002z000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Only the owner of a dataset can drop the dataset or alter its&amp;nbsp; definition; therefore, even if the owner of the dataset grants INSERT,&amp;nbsp; UPDATE, and DELETE privileges on a dataset to another user, that user&amp;nbsp; cannot alter the schema of the dataset.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 17:05:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410174#M23473</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-02-13T17:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server 2008 R2 roles and permissions (delete)</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410175#M23474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your fast response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I'm still a little bit confused about the concept. But isn't there a difference between the "permissions" you grant within the SQL Server Management Studio and the "privileges" you grant on a single dataset within ArcCatalog?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And when I add the "gismanager" to the fixed database role "db_owner", he is able to delete the dataset within ArcCatalog even he is not the owner of the dataset itself. So there should be a permission which enables a user to delete datasets of other users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(But as you wrote, he cannot change the "privileges", since he is not the owner).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 18:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410175#M23474</guid>
      <dc:creator>DanielTruessel</dc:creator>
      <dc:date>2013-02-13T18:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server 2008 R2 roles and permissions (delete)</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410176#M23475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are several posts about this topic in this forum.&amp;nbsp; It comes down to schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I usually use ArcCatalog to grant permissions to my datasets, as the user is either reading them or editing them.&amp;nbsp; However, I don't let users own data for this reason.&amp;nbsp; I have a generic account to load all data in our geodatabase, and i don't even give that user edit permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably when you put "gismanager" in the db_owner role, it gave that user ability to delete other users schema.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 18:40:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410176#M23475</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-02-13T18:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server 2008 R2 roles and permissions (delete)</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410177#M23476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;[�?�] It comes down to schema.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??m not an expert and new to this topic. But I�??m aware of the concept of database schemas and the way they exist since SQL Server 2005 �?? that they are not the same as the database user. And that an object in a database belongs to a schema and the schema in turn is owned by a user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I usually use ArcCatalog to grant permissions to my datasets, as the user is either reading them or editing them. However, I don't let users own data for this reason. I have a generic account to load all data in our geodatabase, and i don't even give that user edit permissions.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I totally agree that this makes sense in most cases and it sounds like a good approach. However, we�??ll probably have the situation that several users will write data in the gdb. In this case we�??d like to have a user with sufficient permissions to �??control�?� the situation (in ArcCatalog) and who is able to delete others data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Furthermore we�??d like to control the permissions of the users via roles and not by changing privileges on single datasets. This could be an option in some specific cases. I guess that otherwise it can get quickly confusing if you have a lot of data and a lot of different users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Probably when you put "gismanager" in the db_owner role, it gave that user ability to delete other users schema.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It definitely works. When we add the �??gismanager�?� to the role �??db_owner�?�, he�??s able to delete others data. In other words, he can delete objects owned by others schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What we�??d like to know is: which permission gives him the right to do that. And is there another possibility besides adding him to the role �??db_owner�?�.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 12:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410177#M23476</guid>
      <dc:creator>DanielTruessel</dc:creator>
      <dc:date>2013-02-15T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server 2008 R2 roles and permissions (delete)</title>
      <link>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410178#M23477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you don't hold me accountable for what happens (because I haven't tried this), you can try granting schema permissions for those other users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms187940.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms187940.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 13:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sql-server-2008-r2-roles-and-permissions-delete/m-p/410178#M23477</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-02-15T13:20:56Z</dc:date>
    </item>
  </channel>
</rss>

