Qlik Community

Qlik Sense Deployment & Management

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

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Highlighted
Tos
New Contributor II

Publish App To Stream Only Allowed When Same Custom Property

Hi all,

 

i need help with the setup of a Security Rule. I have the Custom Property 'Environment' with the Values 'DEV' and 'PROD'. Furthermore i have a Stream called 'Dev'. Now i need a rule that prevent the publication of an App to this Stream when the App does not have the Environment 'DEV'.

The Stream 'Dev' got the Environment Property 'DEV' as well.

 

I really have no clue how to set the rule. Can someone help me?

2 Replies
Support
Support

Re: Publish App To Stream Only Allowed When Same Custom Property

Security Rules are inclusive by design, so what you're looking for isn't possible. There are probably other ways to configure what you want though; just think of the problem in an inclusive instead of exclusive way.

 

https://help.qlik.com/en-US/sense/April2019/Subsystems/ManagementConsole/Content/Sense_QMC/design-ac...

Tos
New Contributor II

Re: Publish App To Stream Only Allowed When Same Custom Property

Thanks for this information.

Nevertheless, in order to solve my problem i use the manuel from How to access QRS Repository from Load Script and read the custom properties of my app and the app's corresponding stream and compare them.

At least this will let a task execution fail and i can write a log message for hints.