Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Is it possible to concatenate values in security rule conditions?
For example:
resource.name + "." + resource.app.name = user.<attribuut>
Or to use resource variables in matches expression like below?
user.<attribuut> matches ".*" + resource.name + ".*"
Bas Knol
As far as I know you can only use logical construction and
for example
resource.name="App_*" and (resource.app.name="appname")
not possible yet? i really would like to have the basic functionality
Do you try use like?
for expl..
resource.stream.HasPrivilege("read") and (resource.@DemoType like "Analyz*" and (user.@UserType="Demo" or user.userDirectory="DEMOAPP"))
This wont help, basically there is a need for scenario like :
resource.attribut like resource + ".*" or something like that
We also Need a solution for this issue. We want to match generic user.Group with custom properties. But user.Group contains additional string. So we Need the possibility to concat string before like: user.Group like "*"+resource.@Project+"*".
Please help. Thanks.
BR
Mehmet.
Any update on this? We also really need this functionality. It seems I can't even use the value from a user attribute as the regular expression match - must be a static string.
For example, I'd like to be able to do this:
resource.name matches user.environment.clientAccess
...where clientAccess is a regEx expression with to match the valid resources this user can access.
Hi! Any solutions to this problem?
Thank you!
Caio
This would definitely be helpful! Is there an official feature request in place already? If not, how do we get a feature request to the right people?