Closed lurumad closed 3 years ago
When configuring UserPropertyBag ClaimMapping:
UserPropertyBag.ClaimMapping.Add("Permission", new[] { BaleaClaims.Permission });
and create a new policy like this:
"policies": [ { "name": "MultiplePermissions", "content": "policy MultiplePermissions begin\r\n rule A (PERMIT) begin\r\n Subject.Permission = \"internalproducts.read\" OR Subject.Permission = \"internalproducts.readandwrite\" \r\n end \r\n end" } ]
The policy is not satisficed because returns the first claim value of the permissions and maybe it's not the correct value.
I don't remember well, but, can you use CONTAINS on BAL language
You are right @unaizorrilla
When configuring UserPropertyBag ClaimMapping:
and create a new policy like this:
The policy is not satisficed because returns the first claim value of the permissions and maybe it's not the correct value.