<?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: How to handle access to data model viewer for published apps? in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2103555#M25400</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt; did you get this to work in the end?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 13:49:47 GMT</pubDate>
    <dc:creator>ThijsDeBruijnEscuLine</dc:creator>
    <dc:date>2023-08-08T13:49:47Z</dc:date>
    <item>
      <title>How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2028815#M24175</link>
      <description>&lt;P&gt;I have a group of users with proffesional access allocation on a Qlik Sense on Windows environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When designing their own sheets and objects in a published application they would benifit from having read access to the data model viewer, but I am having problem granting them this access without granting them access to make edits in the published app. I have been looking at this support page&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-How-to-show-data-model-viewer-for/ta-p/1715232" target="_blank" rel="noopener"&gt;Security Rule Example: How to show data model viewer for published apps&lt;/A&gt;&amp;nbsp;by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/39663"&gt;@Andre_Sostizzo&lt;/a&gt;&amp;nbsp;, but need to get an deeper understaning on how to pinpoint just the data model viewer.&lt;/P&gt;
&lt;P&gt;Do you guys know how to scoping down a security rule to just handle data model "object" of a Qlik Sense application?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how narrow I have managed to go. (I get the impression that the Data Model is considered a sheet):&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Read Create and Update&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;using filter&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(resource.resourcetype="App") &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;or &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(resource.resourcetype="App.Object" and resource.objectType like "sheet")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 13:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2028815#M24175</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-01-23T13:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029410#M24181</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance have you seen this already ?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-How-to-show-data-model-viewer-for/ta-p/1715232" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-How-to-show-data-model-viewer-for/ta-p/1715232&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Kind Regards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 15:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029410#M24181</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2023-01-24T15:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029560#M24186</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22488"&gt;@NadiaB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was linking to that post in my orignal post. As you see in the comments section of that article the solutions grants the users edit rights to parts of the published app such as the application name, description and the apps custom properties.&amp;nbsp; That is a big no-no in my case.&lt;/P&gt;
&lt;P&gt;With my posting I was hoping for help on narrowing down the scope of my security rule to the data model section only or at least eliminate the possibility for the users to make edits to the app/app properties. Do you have any security rules experts in your support team that help us with this? I assume this is an interresting problem to get solved for more than me.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 20:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029560#M24186</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-01-24T20:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029562#M24188</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation about resources and conditions available are in our site:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/November2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Managing_QSEoW/available-resource-filters.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/November2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Managing_QSEoW/available-resource-filters.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/November2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Managing_QSEoW/available-resource-conditions.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/November2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Administer_QSEoW/Managing_QSEoW/available-resource-conditions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It is suggested to look at objectype "loadmodel" described in the resources condition and and remove privileges as needed, I believe there are other posts around this topic, is just each one might be looking for something specific on a rule so the best way to go probably would be design from scratch.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 20:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029562#M24188</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2023-01-24T20:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029569#M24189</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;,&amp;nbsp;since that data model does not change often, i just would take a screenshot and put it as an library image, then show it in a text box, with some fields descriptions and relations&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 20:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029569#M24189</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2023-01-24T20:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029574#M24190</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121051"&gt;@QFabian&lt;/a&gt;&amp;nbsp;Thanks for the suggestion. I actually found my self giving the same advice to another user in a&amp;nbsp; couple of years old community post.&lt;/P&gt;
&lt;P&gt;If there is no other way to do it then I might do this for the most important self service applications, but shere is more to the datamodel page than just the relationship diagrams. So I would prefere to find a solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;---------&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22488"&gt;@NadiaB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure about the&amp;nbsp;&lt;SPAN&gt;objectype "loadmodel", I get the impression that it is referring to the load script and not the data model. As support for this I find this article&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-Example-Allow-access-to-Data-Load-Editor-on-an-app/ta-p/1716897" target="_blank"&gt;Security Rule Example: Allow access toData Load Editor on an app&lt;/A&gt;&amp;nbsp;that is using "loadmodel". However, if you can confirm that the datamodel is in fact reffered to as objecttype="loadmodel" I will pursue that path and investigate further.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 20:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029574#M24190</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-01-24T20:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029580#M24195</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp; hope that that security rule works!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 21:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2029580#M24195</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2023-01-24T21:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2103555#M25400</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt; did you get this to work in the end?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 13:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2103555#M25400</guid>
      <dc:creator>ThijsDeBruijnEscuLine</dc:creator>
      <dc:date>2023-08-08T13:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2103709#M25402</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162411"&gt;@ThijsDeBruijnEscuLine&lt;/a&gt;&amp;nbsp;unfortunately no. WE Where not able to pinpoint just this feature without opening up for more privileges than was acceptable.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 20:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2103709#M25402</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-08-08T20:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle access to data model viewer for published apps?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2104728#M25412</link>
      <description>&lt;P&gt;I ran into the same issue. I did bunch of tests and confirmed that the object type "&lt;STRONG&gt;LoadModel&lt;/STRONG&gt;" is &lt;STRONG&gt;not a data model&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;In fact, the data model is &lt;STRONG&gt;not&lt;/STRONG&gt; part of &lt;CODE&gt;App.Object_*&lt;/CODE&gt; resource at all. It is part of &lt;CODE&gt;App_*&lt;/CODE&gt; resource. (I believe&amp;nbsp;&lt;CODE&gt;App_*&lt;/CODE&gt;&amp;nbsp;and &lt;CODE&gt;App.Object_*&lt;/CODE&gt; resources are different but I'm not 100% sure on that.)&lt;/P&gt;
&lt;P&gt;Furthermore, visibility into data model is &lt;STRONG&gt;not&lt;/STRONG&gt; controlled by &lt;STRONG&gt;Read&lt;/STRONG&gt; action but instead by &lt;STRONG&gt;Update&lt;/STRONG&gt; action.&lt;/P&gt;
&lt;P&gt;I did a simple test to confirm this.&lt;/P&gt;
&lt;P&gt;1. Give a user with Professional license (Mikhail in this example) access to specific app.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mbespartochnyy_1-1691697374171.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114103iD98FE04B7F69F4BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="mbespartochnyy_1-1691697374171.png" alt="mbespartochnyy_1-1691697374171.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. &lt;STRONG&gt;Publish app&lt;/STRONG&gt; to stream &lt;STRONG&gt;Everyone&lt;/STRONG&gt;.&lt;BR /&gt;3. &lt;STRONG&gt;Disable any rule&lt;/STRONG&gt; that gives access to app objects, namely the &lt;STRONG&gt;Stream&lt;/STRONG&gt; rule.&lt;BR /&gt;4. Ensure that app owner is &lt;STRONG&gt;not&lt;/STRONG&gt; the user (not Mikhail) that has been given access to the app.&lt;BR /&gt;5. Have the user (Mikhail) that has been given access to the app &lt;STRONG&gt;open the app&lt;/STRONG&gt; and try accessing the data model.&lt;/P&gt;
&lt;P&gt;With only &lt;STRONG&gt;Read&lt;/STRONG&gt; and &lt;STRONG&gt;Update&lt;/STRONG&gt; access to &lt;CODE&gt;App_dcd544f3-e330-4c71-af52-eeeb1988914b&lt;/CODE&gt; resource, the user (Mikhail) &lt;STRONG&gt;was&lt;/STRONG&gt; able to see the data model:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mbespartochnyy_2-1691697874265.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114104i5933B73BAF822342/image-size/large?v=v2&amp;amp;px=999" role="button" title="mbespartochnyy_2-1691697874265.png" alt="mbespartochnyy_2-1691697874265.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As expected, the user was &lt;STRONG&gt;not&lt;/STRONG&gt; able to see any of the &lt;STRONG&gt;sheets&lt;/STRONG&gt;, &lt;STRONG&gt;bookmarks&lt;/STRONG&gt;, or &lt;STRONG&gt;stories&lt;/STRONG&gt; within the app:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mbespartochnyy_3-1691697975729.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114105i5CE5986F47A2C3CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="mbespartochnyy_3-1691697975729.png" alt="mbespartochnyy_3-1691697975729.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Updating the security rule to only give &lt;STRONG&gt;read&lt;/STRONG&gt; permission to the app:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mbespartochnyy_5-1691698444517.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114107i212697C2CF813A21/image-size/large?v=v2&amp;amp;px=999" role="button" title="mbespartochnyy_5-1691698444517.png" alt="mbespartochnyy_5-1691698444517.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resulted in &lt;STRONG&gt;loss&lt;/STRONG&gt; of user's ability see the data model:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mbespartochnyy_6-1691698570926.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114108i9D74CCDB23783620/image-size/large?v=v2&amp;amp;px=999" role="button" title="mbespartochnyy_6-1691698570926.png" alt="mbespartochnyy_6-1691698570926.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;Summary&lt;/H2&gt;
&lt;OL&gt;
&lt;LI&gt;Data model &lt;STRONG&gt;is&lt;/STRONG&gt; part of &lt;CODE&gt;App_*&lt;/CODE&gt; resource and &lt;STRONG&gt;not&lt;/STRONG&gt; &lt;CODE&gt;App.Object_*&lt;/CODE&gt; resource.&lt;/LI&gt;
&lt;LI&gt;In order for a user to &lt;STRONG&gt;view&lt;/STRONG&gt; data model in a published app that user needs to be given &lt;STRONG&gt;Update&lt;/STRONG&gt; permissions to an &lt;STRONG&gt;App&lt;/STRONG&gt; resource.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;If&lt;/STRONG&gt; the default &lt;STRONG&gt;Stream&lt;/STRONG&gt; security rule was meant to &lt;STRONG&gt;prevent&lt;/STRONG&gt; users from seeing the data model in a published app, then that rule is &lt;STRONG&gt;broken&lt;/STRONG&gt; as it &lt;STRONG&gt;doesn't&lt;/STRONG&gt; actually prevent users from seeing &lt;STRONG&gt;data model&lt;/STRONG&gt; in a published app when a user is given &lt;STRONG&gt;update&lt;/STRONG&gt; permissions to a published app.
&lt;OL&gt;
&lt;LI&gt;I've confirmed this by &lt;STRONG&gt;enabling&lt;/STRONG&gt; Stream security rule and giving user &lt;STRONG&gt;update&lt;/STRONG&gt; permission to a published app. The user &lt;STRONG&gt;was still able to see&lt;/STRONG&gt; the data model.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This feels like a bug. It makes sense for data model to be part of&amp;nbsp;&lt;CODE&gt;App.Object_*&lt;/CODE&gt; resource of object type LoadModel, but evidently it is not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Test Environment&lt;/H4&gt;
&lt;P&gt;This test was done on a brand new install of Qlik Sense Enterprise on Windows environment with &lt;STRONG&gt;no security rules other than the built-in Default and Read-Only security rules&lt;/STRONG&gt; and the &lt;STRONG&gt;one&lt;/STRONG&gt;&amp;nbsp;custom rule that was created (step 1 above) to give user access to the app.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 20:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-handle-access-to-data-model-viewer-for-published-apps/m-p/2104728#M25412</guid>
      <dc:creator>mbespartochnyy</dc:creator>
      <dc:date>2023-08-10T20:56:23Z</dc:date>
    </item>
  </channel>
</rss>

