Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
usharanirangana
Contributor II
Contributor II

Which Resource in the security rule should be enabled to over right the apps

Hi,

Which Resource in the security rule should be enabled to over right the apps, Please Suggest.

Regards,

Usha

3 Replies
Levi_Turner
Employee
Employee

Do you mean what rights are needed to enable publish and replace functionality in the QMC?

usharanirangana
Contributor II
Contributor II
Author

‌yes..

Levi_Turner
Employee
Employee

Using a quick demo:

  • Stream:
    • Read and Publish Rights
  • Original App (e.g. App_GUID or App_*)
    • Read, Update, Delete
  • App to be published:
    • Read, Update, Delete, Publish
  • App.Objects belonging to both apps:
    • Read, Update, Delete

Example rule:

  • QmcSection_App
  • Read
  • ((user.name="pandrtest"))

and

  • App*
  • Read, Update, Delete
  • ((resource.resourcetype = "App" and resource.id="a495d8bd-931a-478a-b5e3-9cccdf1e48a4") or ((resource.resourcetype="App.Object" and resource.app.HasPrivilege("read")))) and (user.name = "pandrtest")

The user (pandrtest) owns the app to be published,so they have publish rights on the app to be published from the default OwnerPublishDuplicate rule and its objects from the default OwnerPublishAppObject rule.

If you're receiving an insufficient privileges error message then it's due to App.Objects in all likelihood, so demo that out with a rule like:

  • App*
  • Read, Update, Delete
  • ((resource.resourcetype="App.Object" and resource.app.HasPrivilege("read"))) and (user.name = "pandrtest")