<?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: Metadata permissions on folders in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53952#M3003</link>
    <description>if you are using 9.2 have a look at the %mdsecds() macro&lt;BR /&gt;
&lt;BR /&gt;
Barry</description>
    <pubDate>Wed, 21 Jul 2010 21:34:37 GMT</pubDate>
    <dc:creator>twocanbazza</dc:creator>
    <dc:date>2010-07-21T21:34:37Z</dc:date>
    <item>
      <title>Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53949#M3000</link>
      <description>All,&lt;BR /&gt;
&lt;BR /&gt;
We have built a web application using the Stored Process Server in which the Open Metadata Interface is used to display folders (and subtrees) defined in the metadataserver.&lt;BR /&gt;
Some users or usergroups are restricted to see certain folders, so permissions are set by access control templates.&lt;BR /&gt;
&lt;BR /&gt;
The thing I want to do is do display only those folders from the metadata that the user is permitted to see, using the open metadata interface. I know it has something to do with the AccessControlTemplate and AccessControlEntry metadata types, but it is kinda hard to ask the proper questions to the metadataserver.&lt;BR /&gt;
&lt;BR /&gt;
I know a Tree metadatatype is associated to 0 or more AccessControlEntry elements.&lt;BR /&gt;
I also know a Person metadatatype is associated to 0 or more AccessControlEntry elements.&lt;BR /&gt;
But how to get the right permission on a Tree, that is somewhat difficult.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone give me some directions to perform this "trick".&lt;BR /&gt;
Any help is greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Raoul.</description>
      <pubDate>Wed, 21 Jul 2010 19:49:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53949#M3000</guid>
      <dc:creator>Raoul</dc:creator>
      <dc:date>2010-07-21T19:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53950#M3001</link>
      <description>Hi Raoul.&lt;BR /&gt;
&lt;BR /&gt;
Wouldn't the Metadata server only return the folders that the user can see, or are you using a generic userid to access?&lt;BR /&gt;
&lt;BR /&gt;
Barry</description>
      <pubDate>Wed, 21 Jul 2010 20:12:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53950#M3001</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2010-07-21T20:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53951#M3002</link>
      <description>Barry,&lt;BR /&gt;
&lt;BR /&gt;
Because the application runs in the Stored Process Server (we are using SAS 9.1.3), it is executed with a general user (in our specific case we call it a systemaccount). When using the Stored Process Server it is possible to store session data (in the SAVE library) and session variables (prefix ' save_').&lt;BR /&gt;
&lt;BR /&gt;
I guess I need to do the following steps.&lt;BR /&gt;
1. Get the AccessControlEntry metadata types for the user (defined in _METAUSER or _METAPERSON) for which the user has read permissions.&lt;BR /&gt;
2. Get the AccessControlEntry metadata types associated with each folder (Tree)&lt;BR /&gt;
3. Combine step 1 and 2&lt;BR /&gt;
&lt;BR /&gt;
Maybe these steps are all too simple, since there is quiet some metadata to retrieve. Again: i can't figure out what the appropriate questions are to ask to the metadataserver.&lt;BR /&gt;
&lt;BR /&gt;
Regards, Raoul.</description>
      <pubDate>Wed, 21 Jul 2010 20:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53951#M3002</guid>
      <dc:creator>Raoul</dc:creator>
      <dc:date>2010-07-21T20:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53952#M3003</link>
      <description>if you are using 9.2 have a look at the %mdsecds() macro&lt;BR /&gt;
&lt;BR /&gt;
Barry</description>
      <pubDate>Wed, 21 Jul 2010 21:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53952#M3003</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2010-07-21T21:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53953#M3004</link>
      <description>Also for 9.2, see this thread:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=34396" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=34396&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Wed, 21 Jul 2010 21:38:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53953#M3004</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-07-21T21:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53954#M3005</link>
      <description>Vince,&lt;BR /&gt;
&lt;BR /&gt;
We are using SAS 9.1.3. The thread you referred to shows an example of determining the IdentityGroups a user is associated with.&lt;BR /&gt;
What I need to know is which associations are needed to determine whether a user is allowed to see a Tree or not.&lt;BR /&gt;
&lt;BR /&gt;
Suppose I have a tree (or folder), do I need to look at the AccessControlEntry metadatatypes? What I know is that an AccessControlEntry has 0 or more Permission elements, each with attributes Name and Type, e.g. Name = 'ReadMetadata' and Type = 'GRANT'.&lt;BR /&gt;
And let's assume there are two AccessControlEntry elements associated with this tree. The first one has a permission Name = 'ReadMetadata' and Type='GRANT', but the second one has a permission Name = 'ReadMetadata' and Type=DENY'. Does this mean that the use can or cannot see the tree?&lt;BR /&gt;
&lt;BR /&gt;
Am I looking in the right direction?&lt;BR /&gt;
&lt;BR /&gt;
Regards, Raoul.</description>
      <pubDate>Thu, 22 Jul 2010 07:34:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53954#M3005</guid>
      <dc:creator>Raoul</dc:creator>
      <dc:date>2010-07-22T07:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53955#M3006</link>
      <description>@ Barry,&lt;BR /&gt;
&lt;BR /&gt;
Can you give me the contents of this macro?&lt;BR /&gt;
I don't know if it'll work in 9.1.3, but it is worth a try...&lt;BR /&gt;
&lt;BR /&gt;
Raoul.</description>
      <pubDate>Wed, 28 Jul 2010 09:22:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53955#M3006</guid>
      <dc:creator>Raoul</dc:creator>
      <dc:date>2010-07-28T09:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata permissions on folders</title>
      <link>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53956#M3007</link>
      <description>the macro, and subsequent called macros came with 9.2, I am sure if you request from Tech support they'll supply.</description>
      <pubDate>Thu, 29 Jul 2010 00:14:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Metadata-permissions-on-folders/m-p/53956#M3007</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2010-07-29T00:14:11Z</dc:date>
    </item>
  </channel>
</rss>

