<?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: Section Access in Manager to Resource Hierarchy in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485892#M101322</link>
    <description>&lt;P&gt;It depends on where you have your hierarchy. If it's just the relationship between manager and resource, then you can use ManagerID or ManagerName in your Section Access, and it should work.&lt;/P&gt;
&lt;P&gt;But if you have a situation where you have submanagers that report into an other manager, then you need to store it in an Adjacent nodes table.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 12:45:07 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2024-10-08T12:45:07Z</dc:date>
    <item>
      <title>Section Access in Manager to Resource Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485790#M101316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've the below sample data:&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="877"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="111"&gt;ManagerID&lt;/TD&gt;
&lt;TD width="139"&gt;ManagerName&lt;/TD&gt;
&lt;TD width="107"&gt;ResourceID&lt;/TD&gt;
&lt;TD width="99"&gt;ResourceName&lt;/TD&gt;
&lt;TD width="115"&gt;ResourceStatus&lt;/TD&gt;
&lt;TD width="133"&gt;ResourceRole&lt;/TD&gt;
&lt;TD width="173"&gt;ResourceType&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456789&lt;/TD&gt;
&lt;TD&gt;Mgr-1&lt;/TD&gt;
&lt;TD&gt;612058116&lt;/TD&gt;
&lt;TD&gt;Test-1&lt;/TD&gt;
&lt;TD&gt;Allocated&lt;/TD&gt;
&lt;TD&gt;Solution Manager&lt;/TD&gt;
&lt;TD&gt;Sub-Con&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456789&lt;/TD&gt;
&lt;TD&gt;Mgr-1&lt;/TD&gt;
&lt;TD&gt;612058117&lt;/TD&gt;
&lt;TD&gt;Test-2&lt;/TD&gt;
&lt;TD&gt;Allocated&lt;/TD&gt;
&lt;TD&gt;Solution Manager&lt;/TD&gt;
&lt;TD&gt;BT FTE&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456788&lt;/TD&gt;
&lt;TD&gt;Mgr-2&lt;/TD&gt;
&lt;TD&gt;612058118&lt;/TD&gt;
&lt;TD&gt;Test-3&lt;/TD&gt;
&lt;TD&gt;Allocated&lt;/TD&gt;
&lt;TD&gt;Solution Manager&lt;/TD&gt;
&lt;TD&gt;External Consultant&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456789&lt;/TD&gt;
&lt;TD&gt;Mgr-2&lt;/TD&gt;
&lt;TD&gt;612058119&lt;/TD&gt;
&lt;TD&gt;Test-4&lt;/TD&gt;
&lt;TD&gt;Allocated&lt;/TD&gt;
&lt;TD&gt;Solution Manager&lt;/TD&gt;
&lt;TD&gt;Sub-Con&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456790&lt;/TD&gt;
&lt;TD&gt;Mgr-3&lt;/TD&gt;
&lt;TD&gt;612058120&lt;/TD&gt;
&lt;TD&gt;Test-5&lt;/TD&gt;
&lt;TD&gt;Allocated&lt;/TD&gt;
&lt;TD&gt;Solution Manager&lt;/TD&gt;
&lt;TD&gt;BT FTE&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456790&lt;/TD&gt;
&lt;TD&gt;Mgr-3&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;Vacancy&lt;/TD&gt;
&lt;TD&gt;Solution Manager&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And let's say that I have created a master dimension (Drill-Down) using ManagerID and ResourceID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I create this table on the dashboard with just Manager details and because of drill-down dimension, it will show the relevant resource details once I click on any particular ManagerID.&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="250"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="111"&gt;ManagerID&lt;/TD&gt;
&lt;TD width="139"&gt;ManagerName&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456789&lt;/TD&gt;
&lt;TD&gt;Mgr-1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456789&lt;/TD&gt;
&lt;TD&gt;Mgr-1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456788&lt;/TD&gt;
&lt;TD&gt;Mgr-2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456789&lt;/TD&gt;
&lt;TD&gt;Mgr-2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456790&lt;/TD&gt;
&lt;TD&gt;Mgr-3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;123456790&lt;/TD&gt;
&lt;TD&gt;Mgr-3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All ok till here. But I also have one requirement where I need to restrict other managers to see other resources details. For e.g., Mgr-1 should only see Test-1 and Test-2 data. How do I achieve this?&lt;/P&gt;
&lt;P&gt;Thanks a lot, in advanced!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 08:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485790#M101316</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2024-10-08T08:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access in Manager to Resource Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485808#M101317</link>
      <description>&lt;P&gt;If you have the hierarchy stored in an Adjacent Nodes table, you should be able to do it. See more on:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/Authorization-using-a-Hierarchy/ba-p/1476319" target="_blank"&gt;https://community.qlik.com/t5/Design/Authorization-using-a-Hierarchy/ba-p/1476319&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Member-Articles/Hierarchies/ta-p/1487801" target="_blank"&gt;https://community.qlik.com/t5/Member-Articles/Hierarchies/ta-p/1487801&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hierarchies are also well described in my book.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hic_0-1728376683077.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172628i5E978D7647ADD56C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hic_0-1728376683077.png" alt="hic_0-1728376683077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 08:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485808#M101317</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2024-10-08T08:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access in Manager to Resource Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485838#M101319</link>
      <description>&lt;P&gt;Thank you for your response. Is it possible for you to provide an example of&amp;nbsp;&lt;SPAN&gt;Adjacent Nodes table (based on the data I've given in my question please). I just want to know the structure of the&amp;nbsp;Adjacent Nodes table, so that I can create it and move further accordingly to implement the requirement.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 10:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485838#M101319</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2024-10-08T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access in Manager to Resource Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485892#M101322</link>
      <description>&lt;P&gt;It depends on where you have your hierarchy. If it's just the relationship between manager and resource, then you can use ManagerID or ManagerName in your Section Access, and it should work.&lt;/P&gt;
&lt;P&gt;But if you have a situation where you have submanagers that report into an other manager, then you need to store it in an Adjacent nodes table.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 12:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485892#M101322</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2024-10-08T12:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access in Manager to Resource Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485941#M101326</link>
      <description>&lt;P&gt;Eevrything you mentioned can be handled in section access.&lt;/P&gt;
&lt;P&gt;try below script:&lt;/P&gt;
&lt;P&gt;// Section Access to control user access based on roles&lt;BR /&gt;Section Access; &lt;BR /&gt;LOAD * INLINE [ &lt;BR /&gt;ACCESS,USERID,PASSWORD,MANAGER&lt;BR /&gt;ADMIN,ADMIN,ADMIN,*&lt;BR /&gt;USER,MGR1,MGR1,MGR1&lt;BR /&gt;USER,MGR2,MGR2,MGR2&lt;BR /&gt;USER,MGR3,MGR3,MGR3&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Section Application;&lt;/P&gt;
&lt;P&gt;// Load the actual data with MANAGER field to link to section access&lt;BR /&gt;RawData:&lt;BR /&gt;LOAD &lt;BR /&gt;ManagerID,&lt;BR /&gt;TEXT(UPPER(PURGECHAR(ManagerName,'-'))) AS MANAGER,// Use ManagerName as MANAGER for matching&lt;BR /&gt;ManagerName,&lt;BR /&gt;ResourceID,&lt;BR /&gt;ResourceName,&lt;BR /&gt;ResourceStatus,&lt;BR /&gt;ResourceRole,&lt;BR /&gt;ResourceType;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;ManagerID,ManagerName,ResourceID,ResourceName,ResourceStatus,ResourceRole,ResourceType&lt;BR /&gt;123456789,Mgr-1,612058116,Test-1,Allocated,Solution Manager,Sub-Con&lt;BR /&gt;123456789,Mgr-1,612058117,Test-2,Allocated,Solution Manager,BT FTE&lt;BR /&gt;123456788,Mgr-2,612058118,Test-3,Allocated,Solution Manager,External Consultant&lt;BR /&gt;123456789,Mgr-2,612058119,Test-4,Allocated,Solution Manager,Sub-Con&lt;BR /&gt;123456790,Mgr-3,612058120,Test-5,Allocated,Solution Manager,BT FTE&lt;BR /&gt;123456790,Mgr-3, , ,Vacancy, Solution Manager,&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2485790 - Section Access in Manager to Resource Hierarchy (1).PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172659i00851262F2E3FC2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2485790 - Section Access in Manager to Resource Hierarchy (1).PNG" alt="2485790 - Section Access in Manager to Resource Hierarchy (1).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2485790 - Section Access in Manager to Resource Hierarchy (2).PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172662i4C5D07A590B0C344/image-size/large?v=v2&amp;amp;px=999" role="button" title="2485790 - Section Access in Manager to Resource Hierarchy (2).PNG" alt="2485790 - Section Access in Manager to Resource Hierarchy (2).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2485790 - Section Access in Manager to Resource Hierarchy (3).PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172661i2FB94F4246E495DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2485790 - Section Access in Manager to Resource Hierarchy (3).PNG" alt="2485790 - Section Access in Manager to Resource Hierarchy (3).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2485790 - Section Access in Manager to Resource Hierarchy (4).PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172663i21DE018F97841081/image-size/large?v=v2&amp;amp;px=999" role="button" title="2485790 - Section Access in Manager to Resource Hierarchy (4).PNG" alt="2485790 - Section Access in Manager to Resource Hierarchy (4).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 14:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2485941#M101326</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2024-10-08T14:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access in Manager to Resource Hierarchy</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2486329#M101377</link>
      <description>&lt;P&gt;Thanks a lot for your help!!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 07:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-in-Manager-to-Resource-Hierarchy/m-p/2486329#M101377</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2024-10-10T07:45:07Z</dc:date>
    </item>
  </channel>
</rss>

