Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We're running a multi-node site v 2.2.3+Build:37release/ms15
We've got developers who own the apps, streams and app objects. They have the authority to publish and delete what they own via security rules...
Yet, when they try to publish and replace, it throws an error to the developer like this: "The operation failed due to insufficient privileges"
In the log it shows this:
Republish app | 403 | Forbidden (HTTP code: 403) |
Yet the rules audit show that they can publish and delete...
Anyone seen this before?
but still not working
Which error shows on the screen? Can you attach an image of it?
Also make sure the test user owns both apps.
the same error, operation failed due to insufficient priveleges... yes the user is owner for both apps
Please attach a screen shot of an audit of that user for the apps, app objects and stream in scope of what you're trying to do.
going by the thread i deleted and recreated the rule.. and it just worked...
Thanks v much for the prompt and detailed response.. much appreciated
I can't get this to work on our Qlik Sense Server either (Sept 2017 release). What I did:
((user.name="user2")) and ((resource.resourcetype="Stream" and resource.name="user2") or (resource.resourcetype="App" and resource.stream.name="user2") or (resource.resourcetype="App.Object" and resource.objectType="sheet" and resource.owner.name=user.name and resource.app.stream.name="user2") or (resource.resourcetype="App.Object" and resource.objectType="story" and resource.owner.name=user.name and resource.app.stream.name="user2"))
Any thoughts?
Start simple and add more till it breaks?
Name: PublishReplaceApp
Resource Filter: App*
Actions: Read, Update, Publish
Conditions: ((resource.IsOwned() and resource.owner = user) and (user.name="user2"))
Context: QMC
Copied & pasted that exactly and still get the insufficient privileges error.
How bout this?
Also, are these old apps?
Name: PublishReplaceApp
Resource Filter: App*
Actions: Read, Update, Publish
Conditions: (resource.IsOwned() and resource.owner = user)
Context: QMC