<?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 Security changes based on Specific Group Name - QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Security-changes-based-on-Specific-Group-Name-QlikView/m-p/1418074#M1325591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement security with 2 levels&lt;/P&gt;&lt;P&gt;1. User logged in has access to specific tabs (this I have figured out in Sheet Access)&lt;/P&gt;&lt;P&gt;2. Users role determines what region and agent information he will see (this I am struggling with)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;security:&lt;/P&gt;&lt;P&gt;load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ACCESS" as ACCESS, NTNAME AS NTNAME ,GROUPNAME, REGION,&amp;nbsp;&amp;nbsp;&amp;nbsp; AGENT_USERNAME; &lt;/P&gt;&lt;P&gt;select&amp;nbsp;&amp;nbsp; "ACCESS"&amp;nbsp; , NTNAME&amp;nbsp;&amp;nbsp; ,GROUPNAME, REGION,username as AGENT_USERNAME&lt;/P&gt;&lt;P&gt;from QLIKVIEW.VW_QV_SECURITY_ROLES where rnk=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;SheetAccess:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt; SH06,SH02,SupervisorSH, SH03&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; 1,1,1,1,'CENTRAL ADMINISTRATION' &lt;/P&gt;&lt;P&gt; 0,0,1,1,'SUPERVISOR'&amp;nbsp; &lt;/P&gt;&lt;P&gt; 0,1,1,1,'REGION' ,REGION&amp;nbsp; &lt;/P&gt;&lt;P&gt; 0,0,0,1,'AGENT'&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenges are as follows:&amp;nbsp; the groupname and regions the users can access are stored in an oracle table, not inline&lt;/P&gt;&lt;P&gt;- when i try to place '*' in the database table it is not read in the security - Qlik thinks the '*' is the name of the region &lt;/P&gt;&lt;P&gt;- some users need to have access based on region and some on agent username and others both - when i try to include both columns it creates a synthetic key with 2 columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ideal security should follow this pattern&lt;/P&gt;&lt;P&gt;- central admin should have access to all regions and all agentnames &amp;amp; associated cases&lt;/P&gt;&lt;P&gt;- region should have access to specific region stored in the database and associated agentnames &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp; associated cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- agent should have access to his agent information only - and associated region &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp; associated cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- supervisor has access to his agents and the associated regions &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp; associated cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE style="width: 217px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="93"&gt;groupname&lt;/TD&gt;&lt;TD class="xl63" width="47"&gt;region&lt;/TD&gt;&lt;TD class="xl63" width="77"&gt;agentname&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;central admin&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;region&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;agent&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;supervisor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ??&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!!&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>rarora12</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Security changes based on Specific Group Name - QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Security-changes-based-on-Specific-Group-Name-QlikView/m-p/1418074#M1325591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement security with 2 levels&lt;/P&gt;&lt;P&gt;1. User logged in has access to specific tabs (this I have figured out in Sheet Access)&lt;/P&gt;&lt;P&gt;2. Users role determines what region and agent information he will see (this I am struggling with)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;security:&lt;/P&gt;&lt;P&gt;load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ACCESS" as ACCESS, NTNAME AS NTNAME ,GROUPNAME, REGION,&amp;nbsp;&amp;nbsp;&amp;nbsp; AGENT_USERNAME; &lt;/P&gt;&lt;P&gt;select&amp;nbsp;&amp;nbsp; "ACCESS"&amp;nbsp; , NTNAME&amp;nbsp;&amp;nbsp; ,GROUPNAME, REGION,username as AGENT_USERNAME&lt;/P&gt;&lt;P&gt;from QLIKVIEW.VW_QV_SECURITY_ROLES where rnk=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;SheetAccess:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt; SH06,SH02,SupervisorSH, SH03&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; 1,1,1,1,'CENTRAL ADMINISTRATION' &lt;/P&gt;&lt;P&gt; 0,0,1,1,'SUPERVISOR'&amp;nbsp; &lt;/P&gt;&lt;P&gt; 0,1,1,1,'REGION' ,REGION&amp;nbsp; &lt;/P&gt;&lt;P&gt; 0,0,0,1,'AGENT'&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenges are as follows:&amp;nbsp; the groupname and regions the users can access are stored in an oracle table, not inline&lt;/P&gt;&lt;P&gt;- when i try to place '*' in the database table it is not read in the security - Qlik thinks the '*' is the name of the region &lt;/P&gt;&lt;P&gt;- some users need to have access based on region and some on agent username and others both - when i try to include both columns it creates a synthetic key with 2 columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ideal security should follow this pattern&lt;/P&gt;&lt;P&gt;- central admin should have access to all regions and all agentnames &amp;amp; associated cases&lt;/P&gt;&lt;P&gt;- region should have access to specific region stored in the database and associated agentnames &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp; associated cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- agent should have access to his agent information only - and associated region &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp; associated cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- supervisor has access to his agents and the associated regions &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;amp; associated cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE style="width: 217px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="93"&gt;groupname&lt;/TD&gt;&lt;TD class="xl63" width="47"&gt;region&lt;/TD&gt;&lt;TD class="xl63" width="77"&gt;agentname&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;central admin&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;TD&gt;*&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;region&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;agent&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;TD&gt;??&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;supervisor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ??&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!!&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Security-changes-based-on-Specific-Group-Name-QlikView/m-p/1418074#M1325591</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Security changes based on Specific Group Name - QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Security-changes-based-on-Specific-Group-Name-QlikView/m-p/1418075#M1325592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found some good posts by HIC related to hierarchy and security&lt;/P&gt;&lt;P&gt;I had to use a combination of concat keys and generic keys to get everything to work!!!&lt;/P&gt;&lt;P&gt;create a link table with the following code to join the security table to rest of the data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * , REGION&amp;amp;'|'&amp;amp;SUPERVISOR_ID&amp;amp;'|'&amp;amp; AGENT_ID AS SECKEY Resident&amp;nbsp; AGENT;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load * , 'ANY' AS SECKEY Resident&amp;nbsp; AGENT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176619_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Henric!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3451"&gt;Generic keys&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3453"&gt;Authorization using a Hierarchy&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 17:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Security-changes-based-on-Specific-Group-Name-QlikView/m-p/1418075#M1325592</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2017-09-14T17:14:28Z</dc:date>
    </item>
  </channel>
</rss>

