Qlik Community

Ask a Question

Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Announcements
Join us for a live Q&A! September 21, 10 AM ET - Onboarding Fast in Qlik Sense SaaS! REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Oleg_Troyansky

Security rules to enable user-initiated reload?

Hi everybody,

It's my turn to ask a question. I need to enable the user to reload his Sense App from the UI, while the App is published to a stream. I installed an extension from the Branch web site, and it works just fine when the app is not published, however once it's published I'm getting an error message "Access is denied".

Could someone explain to me in detail what security rule(s) need to get created in order to enable that? Should I enable Apps, Reload Tasks, Objects, etc...

thanks in advance,

Oleg Troyansky

25 Replies
hartmoli
Partner
Partner

Hi Dafnis

Didn't tested it on September 2018, only on June 2018. But I guess it will also work on the september Release. Its actually the same solution as from christopher

sasikumar
Partner
Partner

hi,

have u found any solution for reload button..?

philipp_kunz
Partner
Partner

Hi Sasikumar,

Try this:

  1. Create a Custom Property according to my example:
  2. Name: AllowRessources
  3. Ressource Types: Apps, Data Connections, Users
  4. Values: EditPublishedApp.CustomPropertyReloadButton.PNG

     

    5 .Create a Security Rule which relies on that Custom Property:

    Ressource Filter: App_*,App.Object_*

    Advanced: ((user.@AllowResources="EditPublishedApp"))SecurityRuleReloadButton.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6. Assign that Custom Property to the Users which should be allowed to execute the Reload:

CustomPropertyReloadButtonUser.PNG

Did that help you?

Cheers Philipp

bogdanchiriac
Contributor II
Contributor II

Hi @philipp_kunz , I have tried the solution you presented, it does not work for my case.

When a user tries to reload the published app, he gets the following message:

User ErrorUser Error

philipp_kunz
Partner
Partner

Hi Bogdan,

 

try giving that specific User the "Root admin" Role, to check whether it has something to do with that.

Does this change the behaviour?

 

bogdanchiriac
Contributor II
Contributor II

No, the user still receives the same error.

philipp_kunz
Partner
Partner

Hi Bogdan,

 

please add the following (do not undo my previous instructions):

 

Add a new attribute "DataConnections" to the prior Custom Property:

CPValues.PNG

New Security Rule:

DataConnection_New.PNG

Assign this Attribute additionally to the User :

User CP.PNG

Does it work?

bogdanchiriac
Contributor II
Contributor II

It does not work, I still get the same error.

sasikumar
Partner
Partner

hi @bogdanchiriac 

Im suggesting you to create a new, separate thread for your issue and provide screen captures/logs which help illustrate your issue.

let me know if u create thread.

Thanks.

philipp_kunz
Partner
Partner

Hi Bogdan, which Version of Qlik Sense do you currently use?

Try upgrading to the latest available!

Then try again.