<?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: SAS.IdentityGroups in Conditional Grants in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196345#M1619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From thread &lt;A _jive_internal="true" href="https://communities.sas.com/thread/62416"&gt;https://communities.sas.com/thread/62416&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can activate the old editor on a table with a command like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./sas-set-metadata-access -host servername -port 8561 -user USERNAME -password PASSWORD "Analytical LASR Data - Sandbox/SALES(Table)" -grant "SalesUsers":Read -condition '("rbs-"|| departmentname) IN ("SUB::SAS.IdentityGroups") OR "rbs-FullAccess" IN ("SUB::SAS.IdentityGroups")'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works for VA 6.4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 06:19:20 GMT</pubDate>
    <dc:creator>Allan_dk</dc:creator>
    <dc:date>2015-07-07T06:19:20Z</dc:date>
    <item>
      <title>SAS.IdentityGroups in Conditional Grants</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196343#M1617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am working my way to create the reports needed for management, we are also getting the need to protect data.&lt;/P&gt;&lt;P&gt;In the datamart the reports are created from, we have a hierarchy defined at organisational units (in this case locations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect it to be possible to create a Conditional Grant on the dataset that would check the value of the OU field against the groups the logged in user is a member of.&lt;/P&gt;&lt;P&gt;It surprises me that is not (or no longer) possible in SAS VA 7.1 to use (for example) IN in your condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I would need a restriction as : OU IN SUB::SAS.IdentityGroups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try this on report level (where IN is available), I simply get either all records or none at all.&lt;/P&gt;&lt;P&gt;Somehow, I don't understand which editor uses SUB:: and if it should be in parenthesis or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have experience in how to enable row-level security for groups where a manager can be in multiple groups?&lt;/P&gt;&lt;P&gt;The &lt;A class="jive-link-external-small" href="https://www.metacoda.com/en/2014/01/conditional-grants-sas-visual-analytics/" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0e66ba;"&gt;Conditional Grants in SAS Visual Analytics &lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em; background-color: #ffffff;"&gt;has helped a lot with understanding how the row-level security works, but I can't get this next step going.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 13:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196343#M1617</guid>
      <dc:creator>roy_walter</dc:creator>
      <dc:date>2015-07-06T13:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS.IdentityGroups in Conditional Grants</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196344#M1618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roy,&lt;/P&gt;&lt;P&gt;assign the row-level security on user level using a group by user.&lt;/P&gt;&lt;P&gt;this way I assign the access restrictions by table and user.&lt;/P&gt;&lt;P&gt;this way you have one access group by user and the rules are assigned at table level.&lt;/P&gt;&lt;P&gt;works for me.&lt;/P&gt;&lt;P&gt;greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 19:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196344#M1618</guid>
      <dc:creator>PeterWijers</dc:creator>
      <dc:date>2015-07-06T19:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS.IdentityGroups in Conditional Grants</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196345#M1619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From thread &lt;A _jive_internal="true" href="https://communities.sas.com/thread/62416"&gt;https://communities.sas.com/thread/62416&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can activate the old editor on a table with a command like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./sas-set-metadata-access -host servername -port 8561 -user USERNAME -password PASSWORD "Analytical LASR Data - Sandbox/SALES(Table)" -grant "SalesUsers":Read -condition '("rbs-"|| departmentname) IN ("SUB::SAS.IdentityGroups") OR "rbs-FullAccess" IN ("SUB::SAS.IdentityGroups")'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works for VA 6.4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 06:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196345#M1619</guid>
      <dc:creator>Allan_dk</dc:creator>
      <dc:date>2015-07-07T06:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS.IdentityGroups in Conditional Grants</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196346#M1620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Allan, Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batchtool did the job (though it needed some extra tweaking). I had come across this earlier, but could not get it working.&lt;/P&gt;&lt;P&gt;The -condition option failed from the example (after personallising it ofcourse). When I switched around the condition to: &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; "(departmentname) IN ('SUB::SAS.IdentityGroups')", meaning I switched around the single and double qoutes, it worked like a charm. If not, I get the message: "Invalid commandline syntax. Too many objects specified.".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for Peter's solution: The amount of tables we have and the changes in responsibilities would make this a hard method to maintain. With each change in responsibility, we would need to change a lot of tables. I fine solution, but too maintenance heavy for our organisation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the implemented solution, we can just shift users from one group/department to another and let the one time implementation on table level take over.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 07:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-IdentityGroups-in-Conditional-Grants/m-p/196346#M1620</guid>
      <dc:creator>roy_walter</dc:creator>
      <dc:date>2015-07-07T07:31:31Z</dc:date>
    </item>
  </channel>
</rss>

