Publish App To Stream Only Allowed When Same Custom Property
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?
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.