<?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: Row-level security and mapping data sources in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/872932#M17158</link>
    <description>Yeah, I set up the interaction between the two tables by mapping data sources. And the first table filters second table data if and only if I select the data in first table.</description>
    <pubDate>Fri, 28 Apr 2023 21:14:29 GMT</pubDate>
    <dc:creator>LOVE_SAA</dc:creator>
    <dc:date>2023-04-28T21:14:29Z</dc:date>
    <item>
      <title>Row-level security and mapping data sources</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/872756#M17156</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have below two tables data. On 'User Table' I applied row-level security using group level access and for 'Sales Table' there is no row-level security applied. My thoughts are, based on logged in user, I first filter the data in 'User Table' and then join the data with 'Sales Table' using UserID as key.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Visual Analytics, I loaded these two tables and mapped the data sources with key column 'UserID'. Now when I logged in as 'U1' user. It filters the data in 'User Table' and doesnt automatically filters data in 'Sales Table' for the user 'U1'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to understand, is it expected that, it will not refresh 'Sales Table' based on mapped data sources(UserID)?. Do we need to apply row-level secuirty on 'Sales Table' also? I can apply directly on 'Sales Table', but I would like to use 'User Table' as Fact table and map other data sources. So that for the logged in user, the data will be filtered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly suggest me the best possible way. In my real time scenario, I've quite few tables that I should map with 'User Table' and hence would like to apply row-level security only on this User Table and merge other tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whereas the data gets filtered for logged in user in 'User Table' but not the mapped data sources.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Row-level security in batch mode applied as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;METASEC_SETAUTH(tc, "","IdentityGroup", "G1","Grant", "Read", "user_login_id = 'SUB::SAS.Userid'",0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="202"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="3" width="202"&gt;User Table&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;UserID&lt;/TD&gt;
&lt;TD&gt;Name&lt;/TD&gt;
&lt;TD&gt;User Group&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;U1&lt;/TD&gt;
&lt;TD&gt;User 1&lt;/TD&gt;
&lt;TD&gt;G1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;U2&lt;/TD&gt;
&lt;TD&gt;User 2&lt;/TD&gt;
&lt;TD&gt;G2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;U3&lt;/TD&gt;
&lt;TD&gt;User 3&lt;/TD&gt;
&lt;TD&gt;G1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="273"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="4" width="273"&gt;Sales Table&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;ProductID&lt;/TD&gt;
&lt;TD&gt;UserID&lt;/TD&gt;
&lt;TD&gt;ProductDesc&lt;/TD&gt;
&lt;TD&gt;Cost&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;P1&lt;/TD&gt;
&lt;TD&gt;U1&lt;/TD&gt;
&lt;TD&gt;Product 1&lt;/TD&gt;
&lt;TD&gt;$100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;P2&lt;/TD&gt;
&lt;TD&gt;U2&lt;/TD&gt;
&lt;TD&gt;Product 2&lt;/TD&gt;
&lt;TD&gt;$200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;P3&lt;/TD&gt;
&lt;TD&gt;U1&lt;/TD&gt;
&lt;TD&gt;Product 3&lt;/TD&gt;
&lt;TD&gt;$300&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;P3&lt;/TD&gt;
&lt;TD&gt;U2&lt;/TD&gt;
&lt;TD&gt;Product 3&lt;/TD&gt;
&lt;TD&gt;$300&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;P4&lt;/TD&gt;
&lt;TD&gt;U2&lt;/TD&gt;
&lt;TD&gt;Product 4&lt;/TD&gt;
&lt;TD&gt;$400&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected output is, in 'Sales Table' for logged in user 'U1', it should display P1 &amp;amp; P3 product details.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 09:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/872756#M17156</guid>
      <dc:creator>LOVE_SAA</dc:creator>
      <dc:date>2023-04-28T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Row-level security and mapping data sources</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/872909#M17157</link>
      <description>&lt;P&gt;Did you set up an interaction between the two tables, so that the first table filters the second one?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 19:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/872909#M17157</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2023-04-28T19:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Row-level security and mapping data sources</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/872932#M17158</link>
      <description>Yeah, I set up the interaction between the two tables by mapping data sources. And the first table filters second table data if and only if I select the data in first table.</description>
      <pubDate>Fri, 28 Apr 2023 21:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/872932#M17158</guid>
      <dc:creator>LOVE_SAA</dc:creator>
      <dc:date>2023-04-28T21:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Row-level security and mapping data sources</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/873164#M17159</link>
      <description>&lt;P&gt;In that case, you would need to apply the row-level security on the second table as well. Mapping the two data sources together won't be sufficient.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 13:24:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Row-level-security-and-mapping-data-sources/m-p/873164#M17159</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2023-05-01T13:24:29Z</dc:date>
    </item>
  </channel>
</rss>

