Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
There are about 25 applications in Stream Everyone. 10 of them give access to all users and the rest should give access depending on the user roles. The total number of users is about 60. The number of the assigned roles is 18.
First I have ctreated a Custom Property for Apps, let's say "AppAccess" and assigned different values to all the applications that should be protected. Then I began ctreating a new Security Rule for the Apps where the Property is not empty. Namely in Advanced Conditions section:
(resource.@AppAccess = "app1" and (user.roles="a" or user.roles="b" or user.roles="c")) or
(resource.@AppAccess = "app2" and (user.roles="d" or user.roles="e")) or...
But it looks ugly and besides this condition string has a limit on char number. I have reached this limit and look for a more elegant idea...
Please help.
Thank you.
modify the custom property AppAccess Choose both resources APP and USER
for each user under property AppAccess = you can add values app1,app2 etc
similarly for each app under property AppAccess = a unique value to each app e.g. app1
example
User1
AppAccess = app1,app2
User2
AppAccess = app1
SomeApp has AppAccess value =app1
SomeOtherApp has AppAccess value =app2
Then use a single security rule something like below
(resource.@AppAccess matches user.@AppAccess)
modify the custom property AppAccess Choose both resources APP and USER
for each user under property AppAccess = you can add values app1,app2 etc
similarly for each app under property AppAccess = a unique value to each app e.g. app1
example
User1
AppAccess = app1,app2
User2
AppAccess = app1
SomeApp has AppAccess value =app1
SomeOtherApp has AppAccess value =app2
Then use a single security rule something like below
(resource.@AppAccess matches user.@AppAccess)
Thank you for your help! It works!