Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
lucienorrin
Creator
Creator

Security Rule to allow users to reload published apps

I am trying to get a reload button working for Sense v3.2, I tried the following:

http://branch.qlik.com/#!/project/56728f52d1e497241ae69836

Create Reload button with Qlik Sense 3.0 - YouTube

Both work great for the app OWNER.

However we have a need to allow users to reload the app on demand.

After configuring the security rules according to the documentation, users still get an access denied error on reload with an incomplete visualization on the sheet.

Has anyone successfully been able to grant users permissions to reload published apps?

47 Replies
morenoju
Partner - Specialist
Partner - Specialist

It's in the QMC, not the hub:

yourserver/qmc/securityrules

dmitri_volkov
Contributor III
Contributor III

@Ken_T , did you file a support case and had you received any feedback from Qlik?

 

"Did anybody find the way to allow users reload and save the app but without making the Edit sheet button available to them?"

Not only Edit sheet button, but also Prepare menu.

 

korsikov
Partner - Specialist III
Partner - Specialist III

Техподдержка отвечает на такие запросы что это консалтинг. Деньги в кассу и будем смотреть. 

nasarkhann
Contributor III
Contributor III

Thank you with this the reload button works. But the apps with custom properties within the stream stops works. Meaning when this rule is enabled, All users who have access to the stream can see all apps not just those with their custom properties. Can you suggest how to control it?

mrdoanvu
Contributor II
Contributor II

well, you just can edit security rules in the QMC, not in the Hub.

Ken_T
Specialist
Specialist

@dmitri_volkov no - we did not. we had to abandon using this feature.  qlik support was not help at all with this, anything that involves security rules - even if it is a new feature like this that requires security rules to work - support will not help at. all.

fh1
Contributor II
Contributor II

I know this thread is pretty old but I wanted to add to Marcos' response in case someone stumbles upon it. Marcos' suggestion for the security rule for only a specific app didn't work for me, the reload button then showed the "access denied" message anyway for some reason (and the data load editor was not visible).

I got it running with this condition in the security rule instead, i.e. I added the app ID in the first and second part of the condition:

(((resource.resourcetype="App" and resource.stream.HasPrivilege("read") 
and resource.id="<your app id>"
) or
(resource.resourcetype="App.Object" and resource.app.stream.HasPrivilege("read") and resource.objectType = "app_appscript"
and resource.app.id="<your app id>")))

 

gerald_lebret
Partner - Creator
Partner - Creator

Considering that the last version allows to reload from the hub, I guess the original request can be answered with standrd features and there is no need for the extension anymore....

Ken_T
Specialist
Specialist

@gerald_lebret agree. Standard button, with action = reload data.... will allow this to work, no extension needed.

however, you will need to have the users added to the data connections for it to work! The users that attempt to do the reload in the published app via the button with reload data action, will need to have read access to the corresponding data connections in the published app.

sdmech81
Specialist
Specialist

@Ken_T , you mean to say, with standard reload button and adding security rule with action Read it will work ?

Its just that , we need to provide the user the access to the all the data connection like oracle, hive and all if in app connections are defined ryt??