I am attempting to use a custom property in a dynamic security rule to secure the visibility of an application. I was able to do this to secure a stream by putting the custom property on the stream and the user and then writing the security rule that specified the user must have the custom property to read the stream. See below:
((resource.@User_Role=user.@User_Role))
I thought the same technique would work for the applications but it does not appear to be working. See below:
((resource.@User_Role=user.@User_Role))