<?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: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set) in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829200#M1473</link>
    <description>Nested group memberships are handed by SASLogon, so when you log in as a member of group2, it will see that group2 is a member of group1 and your authorization token would indicate you are a member of group2 and group1. I suspect that since CAS does not need to know about nested groups to authorize correctly and looking them up would have a performance cost, it only displays the authorizations that have been applied directly or indirectly to the caslib.</description>
    <pubDate>Thu, 18 Aug 2022 13:53:54 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2022-08-18T13:53:54Z</dc:date>
    <item>
      <title>Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829171#M1472</link>
      <description>&lt;P&gt;What is the right way to check access for all nested groups in SAS Viya?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have group1 and group2 which is a member of group1. So, group2 should inherit access given to group1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Part 1. Is there a way to see permissions on objects (caslib, tables) for all nested group (and possibly users)?&lt;/P&gt;
&lt;P&gt;When I use:&lt;/P&gt;
&lt;P&gt;proc cas;&lt;BR /&gt;accessControl.whatIsEffective /&lt;BR /&gt;objectSelector={objType="caslib",caslib="mylib"},ReturnDecisionText=true;&lt;BR /&gt;run;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I only get group1 in the list (no group2 though it inherits access):&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pavelr_0-1660816630981.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74508i6820A474DF96F0B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pavelr_0-1660816630981.png" alt="pavelr_0-1660816630981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can I get something like this?&lt;/P&gt;
&lt;P&gt;group1 - Authorized (explicit)&lt;/P&gt;
&lt;P&gt;group2 - Authorized (inherited)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Part 2. SAS is not showing that a nested group has an access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use:&lt;/P&gt;
&lt;P&gt;proc cas;&lt;BR /&gt;accessControl.whatIsEffective /&lt;BR /&gt;ids={{identity="group2", identityType="group"}},&lt;BR /&gt;objectSelector={objType="caslib",caslib="mylib"},&amp;nbsp;ReturnDecisionText=true;&lt;BR /&gt;run;&amp;nbsp;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pavelr_1-1660816885470.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74509i69D25DF86BC13F0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pavelr_1-1660816885470.png" alt="pavelr_1-1660816885470.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;though it should be Authorized because group2 is a member of group1 and:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pavelr_2-1660816997294.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74510iA7D39EF21C1131C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pavelr_2-1660816997294.png" alt="pavelr_2-1660816997294.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Why it does not show that group2 is Authorized?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 10:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829171#M1472</guid>
      <dc:creator>pavelr</dc:creator>
      <dc:date>2022-08-18T10:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829200#M1473</link>
      <description>Nested group memberships are handed by SASLogon, so when you log in as a member of group2, it will see that group2 is a member of group1 and your authorization token would indicate you are a member of group2 and group1. I suspect that since CAS does not need to know about nested groups to authorize correctly and looking them up would have a performance cost, it only displays the authorizations that have been applied directly or indirectly to the caslib.</description>
      <pubDate>Thu, 18 Aug 2022 13:53:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829200#M1473</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-08-18T13:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829203#M1474</link>
      <description>&lt;P&gt;Well, I can understand that SAS will not list permissions for all nested groups (Part 1 of my post) though it would be helpful, but why it does not show correct permissions if I ask to show them explicitly (Part 2 of my post)?&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;1) create group1&lt;/P&gt;
&lt;P&gt;2) create group2 and make it a member of group1&lt;/P&gt;
&lt;P&gt;3) grant ReadInfo on some caslib "mylib" to group1&lt;/P&gt;
&lt;P&gt;4) Run&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc cas;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;accessControl.whatIsEffective /&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ids={{identity="group1", identityType="group"}},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objectSelector={objType="caslib",caslib="mylib"},&amp;nbsp;ReturnDecisionText=true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&amp;nbsp;quit;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;5) Run&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc cas;&lt;BR /&gt;accessControl.whatIsEffective /&lt;BR /&gt;ids={{identity="group2", identityType="group"}},&lt;BR /&gt;objectSelector={objType="caslib",caslib="mylib"},&amp;nbsp;ReturnDecisionText=true;&lt;BR /&gt;run;&amp;nbsp;quit;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Should 4) and 5) both show that these groups are Authorized? Yes (to my understanding). Why it shows Authorized in the first case and Not Authorized in the second case?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 14:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829203#M1474</guid>
      <dc:creator>pavelr</dc:creator>
      <dc:date>2022-08-18T14:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829206#M1475</link>
      <description>The CAS Server does not know that group 2 is a member of group 1, so when you ask if group 2 has permission it says no because no permission has been assigned to group 2.</description>
      <pubDate>Thu, 18 Aug 2022 14:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829206#M1475</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-08-18T14:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829212#M1476</link>
      <description>&lt;P&gt;Well, for me this is misleading.&lt;/P&gt;
&lt;P&gt;Also, CAS Server still must know that group2 is a member of group1 because in reality group2 has access (inherited from group1) despite SAS code shows that it doesn't.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 14:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829212#M1476</guid>
      <dc:creator>pavelr</dc:creator>
      <dc:date>2022-08-18T14:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829218#M1477</link>
      <description>I don't think CAS is aware of the relationship between group 2 and group 1 because when it checks a user's memberships it gets a flat list rather than a tree. So if userA is a member of group2 which is a member of group1, CAS asks the identities service which groups user A is a member of and it returns both group 2 and group 1, so CAS never knows that user A is a member of both because group 2 is a member of group 1, only that user A is a member of both.</description>
      <pubDate>Thu, 18 Aug 2022 14:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829218#M1477</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-08-18T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829224#M1478</link>
      <description>&lt;P&gt;I see. But does it mean that&amp;nbsp;accessControl.whatIsEffective what correctly for users (ids={{identity="user1", identityType="user"}}) and NOT correctly for all nested groups (ids={{identity="group2", identityType="group"}}) in case they do not have direct permissions?&lt;/P&gt;
&lt;P&gt;What exactly happens when using&amp;nbsp;accessControl.whatIsEffective /&amp;nbsp;ids={{identity="group2", identityType="group"}}...? CAS doesn't check group2's membership? Does it check membership only for users?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 15:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829224#M1478</guid>
      <dc:creator>pavelr</dc:creator>
      <dc:date>2022-08-18T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829227#M1479</link>
      <description>Correct, when querying against a group CAS does not call the identities service to check its memberships and instead returns direct access controls for that group.</description>
      <pubDate>Thu, 18 Aug 2022 15:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829227#M1479</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-08-18T15:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Not showing right access (inherited) for nested groups in SAS Viya (Access Control Action Set)</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829602#M1481</link>
      <description>&lt;P&gt;Thanks. At least now it is more clear what is happening and why.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 05:46:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Not-showing-right-access-inherited-for-nested-groups-in-SAS-Viya/m-p/829602#M1481</guid>
      <dc:creator>pavelr</dc:creator>
      <dc:date>2022-08-22T05:46:44Z</dc:date>
    </item>
  </channel>
</rss>

