Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In our Qlik environment, we would like to implement a security rule where a user is only allowed to publish an app to the streams which have the property @Stream_access set to value 'Acceptatie'.
Questions I have:
- To what resources must the resource filter be set? Only apps, or also streams?
- How do I query the "publish stream - to" in the condition part of the security rule?
Currently I've tried the following:
- Resource filter: App_* and Stream_*
- Actions: Publish
- Conditions: "((resource.stream.@Stream_access="Acceptatie" ))
I guess it fails, because the "stream" the app is coming from (my work environment) does not have this property set to "Acceptatie". So I guess I should query the value of the "stream to publish to"?
Any help is much appreciated!
Grt,
Suzanne
I found a solution!
For future reference:
- I've created a custom property on stream level, named "Publishing_Hub_Allowed", and values "Y" and "N"
- For the acceptance stream, I've put the value on Y, and the other N
- I've implemented the following security rule:
This works!
I found a solution!
For future reference:
- I've created a custom property on stream level, named "Publishing_Hub_Allowed", and values "Y" and "N"
- For the acceptance stream, I've put the value on Y, and the other N
- I've implemented the following security rule:
This works!