<?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: Pre-Assigned Library Authorization doesn't set correctly in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327659#M7201</link>
    <description>&lt;P&gt;Hi Linus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry , my mistake.&lt;/P&gt;&lt;P&gt;Already check the libname list command, it run just fine.&lt;/P&gt;&lt;P&gt;Already tried the metadata bound library. Looks like it works perfectly, deny create table will prevent some groups from create table in the library&lt;/P&gt;&lt;P&gt;But I wonder, why pre assign with metadata engine doesn't prevent user from writing the library(isn't deny access WriteMetadata will prevent user from creating table in the library?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi anja,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create the library through management console&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 09:31:22 GMT</pubDate>
    <dc:creator>char22</dc:creator>
    <dc:date>2017-01-26T09:31:22Z</dc:date>
    <item>
      <title>Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326966#M7137</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am set library properties to pre assigned type By metadata library engine&lt;/P&gt;&lt;P&gt;At the authorization , I set the user to read and read metadata only, so it should be error when I am trying to export and delete data in it.&lt;/P&gt;&lt;P&gt;Instead of error, it delete and write executed successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder, what setting need to be set?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326966#M7137</guid>
      <dc:creator>char22</dc:creator>
      <dc:date>2017-01-24T08:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326967#M7138</link>
      <description>&lt;P&gt;Trouble shoot authorization&amp;nbsp;over the community is usually hard.&lt;/P&gt;
&lt;P&gt;In what tool do you succeed with delete/write?&lt;/P&gt;
&lt;P&gt;If in EG/Base SAS issue&lt;/P&gt;
&lt;P&gt;a&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname yourlib list;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to verify that your assignment setting&amp;nbsp;is in effect.&lt;/P&gt;
&lt;P&gt;If as you expect, you need to track your metasuser and table object authorization settings. See Intelligent Platform doc for help.&lt;/P&gt;
&lt;P&gt;Also, there is a tool from Metacoda (plugin to SMC) that I think helps you with tasks like this.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:12:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326967#M7138</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-24T08:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326971#M7140</link>
      <description>&lt;P&gt;Hi Linus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's SAS EG application&lt;/P&gt;&lt;P&gt;Running libname code will grant the user to all permission&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;libname&lt;/SPAN&gt; yourlib list&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have tried read only properties set in the library, It work, but this case, I need to set some group to read write delete, while others are read only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:26:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326971#M7140</guid>
      <dc:creator>char22</dc:creator>
      <dc:date>2017-01-24T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326985#M7141</link>
      <description>&lt;P&gt;Running&lt;/P&gt;
&lt;PRE class="  language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;libname&lt;/SPAN&gt; yourlib list&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;will display&amp;nbsp;libref settings, not grant any new/different access.&lt;/P&gt;
&lt;P&gt;I think that there's&amp;nbsp;a capability&amp;nbsp;that can prevent users to assign their own librefs.&lt;/P&gt;
&lt;P&gt;If you really want to secure your Base library data, take a look at Meta Bound Libraries.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:33:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/326985#M7141</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-24T09:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327070#M7143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;are you programmatically creating libraries or through SAS Management Console?&lt;/P&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;Anja&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327070#M7143</guid>
      <dc:creator>anja</dc:creator>
      <dc:date>2017-01-24T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327659#M7201</link>
      <description>&lt;P&gt;Hi Linus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry , my mistake.&lt;/P&gt;&lt;P&gt;Already check the libname list command, it run just fine.&lt;/P&gt;&lt;P&gt;Already tried the metadata bound library. Looks like it works perfectly, deny create table will prevent some groups from create table in the library&lt;/P&gt;&lt;P&gt;But I wonder, why pre assign with metadata engine doesn't prevent user from writing the library(isn't deny access WriteMetadata will prevent user from creating table in the library?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi anja,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create the library through management console&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 09:31:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327659#M7201</guid>
      <dc:creator>char22</dc:creator>
      <dc:date>2017-01-26T09:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327723#M7206</link>
      <description>&lt;P&gt;Hi char22,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you trying to go by the "lockdown" as described in the sec admin guide?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lets take&amp;nbsp;the pre-assignment out of the picture for a moment, and please correct me if I misunderstood:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have several groups.&lt;/P&gt;
&lt;P&gt;Some of these groups are allowed to read/write/delete metadata, while others are not allowed to delete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the problem that the same users are in different groups, allowed to delete/read/write with one group, but&lt;/P&gt;
&lt;P&gt;not with the other?&lt;/P&gt;
&lt;P&gt;(I am trying to find out if the issue might be due to conflicting permissions).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or,&lt;/P&gt;
&lt;P&gt;is the problem that you simply have different groups, with different permissions, where some groups can and some&lt;/P&gt;
&lt;P&gt;cannot delete?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next:&lt;/P&gt;
&lt;P&gt;Please provide an example where you describe exactly how the security set up is supposed to be.&lt;/P&gt;
&lt;P&gt;Such as:&lt;/P&gt;
&lt;P&gt;data A&lt;/P&gt;
&lt;P&gt;Group A deny for delete/wm/rm&lt;/P&gt;
&lt;P&gt;Group B grant&amp;nbsp; for ...&lt;/P&gt;
&lt;P&gt;this is the behavior: ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that make sense, do you know where I am getting at with this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anja&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 13:55:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327723#M7206</guid>
      <dc:creator>anja</dc:creator>
      <dc:date>2017-01-26T13:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327919#M7214</link>
      <description>&lt;P&gt;Hi Anja,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Haven't tried the lockdown, is it needed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let say I have Library &lt;STRONG&gt;&lt;EM&gt;Lib&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Group A , Group B, Group C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Group A permission to&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Lib&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;: All permission&lt;/P&gt;&lt;P&gt;Group B permission to&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Lib&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;: Read and Read Metadata&lt;/P&gt;&lt;P&gt;Group C permission to&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Lib&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;: Read and Read Metadata&lt;/P&gt;&lt;P&gt;Public permissions are deny all&lt;/P&gt;&lt;P&gt;SASUSERS permissions are deny all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal are , only Group A can write delete read, while others are read only.&lt;/P&gt;&lt;P&gt;Problem is All group can Write delete read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional Info : I set Extended Attributes : AssignMode = 2 and pre assign lib, so the users can access the lib without hassle (assigning the library first before code or using the table are hassle). Is pre assign lib are bypassing the metadata security?&lt;/P&gt;&lt;P&gt;I set AD to login to metadata server , I set SAS token authentication for the login to workspace server with single user : sassrv(not sure if it is the cause)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 03:04:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/327919#M7214</guid>
      <dc:creator>char22</dc:creator>
      <dc:date>2017-01-27T03:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pre-Assigned Library Authorization doesn't set correctly</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/328228#M7222</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28628"&gt;@char22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I must say, you have got great directins by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/25908"&gt;@anja&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some variables to take in account.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;One is the metadata authorizations, which normally should be enough.
&lt;UL&gt;
&lt;LI&gt;And, of course, you need to keep in mind the metadata authorizations (read metadata, write metadata) and the actual access to the data (read, write, delete, etc). From this point of view, you could grant the groups B/C/* Read metadata and Read. And the group A, additinals Write and Delete (optionally also Write Metadata).&lt;/LI&gt;
&lt;LI&gt;Once you set the permission on the library, I would check if all the tables registered on the library are on the same folder than the library... because other folders will require similar permissions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Something else, besides your metadata settings, You can ensure the grants/denials on the data origin itself (file system, database, etc).&lt;/LI&gt;
&lt;LI&gt;Last remark: probably your users connect with EG or a similar way. This consideration comes from the fact that, even if you set a library as metadata initialized, if afterwards there is a second initialization (let's say, autoexec or user code), the second initialization (and it's permissions, probably none, only what is on the data origin) will take precedence and will overwrite the metadata initialization.... unless we speak about metadata-bound libraries.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, in short, once you ensure your metadata permissions, probably you would like to ensure security on the data origin (to prevent situations as mentioned above), and check if the tables are registered on different folder and inheriting the permission you set on the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 15:35:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Pre-Assigned-Library-Authorization-doesn-t-set-correctly/m-p/328228#M7222</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-01-28T15:35:04Z</dc:date>
    </item>
  </channel>
</rss>

