<?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 Multi-dimension permissions in Visual Investigator in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Multi-dimension-permissions-in-Visual-Investigator/m-p/963936#M2823</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS Viya 2025.03 Visual Investigator and I have trouble implementing a record level access control. The problem is that the access of a record to a certain user is determined by the alignment of multiple variables and these variables can hold a large set of values.&lt;BR /&gt;I found that the built-in authorization fuctionality cannot handle such complexity, so any help would be well appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For easier understanding, let me give an example:&lt;BR /&gt;VAR1 and VAR2 are not nullable variables in an entity table. VAR1 values range from A to Z (26 distinct values), VAR2 range from 1 to 100 (100 distinct values). Permissions must cover all the 26x100=2600 combinations.&lt;BR /&gt;I want my test user to have access to records where VAR1 in {'C','D'} AND simultaneously VAR2 in {52,53}.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking about creating a group for each value of the two variable, and make the data accessible for users who hold permission both VAR1-wise AND VAR2-wise. My test user would be member of group_C, group_D, group_52 and group_53.&lt;BR /&gt;But since permissions are additive, the 'AND' operation between the two dimensions is impossible to do.&lt;BR /&gt;My user would end up getting access to all the Cs, Ds, 52s and 53s, instead of the intersection of &lt;SPAN&gt;C∪D and 52∪53&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, I could create 2600 groups and add my test user to group_C_52, group_C_53, group_D_52 and group_D_53.&lt;BR /&gt;But it's too many groups and way too many user assignments to implement. And there could be more dimensions beyond VAR1 and VAR2...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me viable options for the above problem&lt;BR /&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2025 23:10:19 GMT</pubDate>
    <dc:creator>IdleVillager</dc:creator>
    <dc:date>2025-04-09T23:10:19Z</dc:date>
    <item>
      <title>Multi-dimension permissions in Visual Investigator</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Multi-dimension-permissions-in-Visual-Investigator/m-p/963936#M2823</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS Viya 2025.03 Visual Investigator and I have trouble implementing a record level access control. The problem is that the access of a record to a certain user is determined by the alignment of multiple variables and these variables can hold a large set of values.&lt;BR /&gt;I found that the built-in authorization fuctionality cannot handle such complexity, so any help would be well appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For easier understanding, let me give an example:&lt;BR /&gt;VAR1 and VAR2 are not nullable variables in an entity table. VAR1 values range from A to Z (26 distinct values), VAR2 range from 1 to 100 (100 distinct values). Permissions must cover all the 26x100=2600 combinations.&lt;BR /&gt;I want my test user to have access to records where VAR1 in {'C','D'} AND simultaneously VAR2 in {52,53}.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking about creating a group for each value of the two variable, and make the data accessible for users who hold permission both VAR1-wise AND VAR2-wise. My test user would be member of group_C, group_D, group_52 and group_53.&lt;BR /&gt;But since permissions are additive, the 'AND' operation between the two dimensions is impossible to do.&lt;BR /&gt;My user would end up getting access to all the Cs, Ds, 52s and 53s, instead of the intersection of &lt;SPAN&gt;C∪D and 52∪53&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, I could create 2600 groups and add my test user to group_C_52, group_C_53, group_D_52 and group_D_53.&lt;BR /&gt;But it's too many groups and way too many user assignments to implement. And there could be more dimensions beyond VAR1 and VAR2...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me viable options for the above problem&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 23:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Multi-dimension-permissions-in-Visual-Investigator/m-p/963936#M2823</guid>
      <dc:creator>IdleVillager</dc:creator>
      <dc:date>2025-04-09T23:10:19Z</dc:date>
    </item>
  </channel>
</rss>

