You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great to be able to pass either a string or a regular expression value for the privilege argument to isAllowed.
This means that if we want to interpret read privileges over all resources, but a team resource may have multiple privilege types matching read, e.g. read, billing.read, invoices.read, one check could be employed /.read$/
The text was updated successfully, but these errors were encountered:
Would be great to be able to pass either a string or a regular expression value for the privilege argument to
isAllowed
.This means that if we want to interpret read privileges over all resources, but a team resource may have multiple privilege types matching
read
, e.g.read
,billing.read
,invoices.read
, one check could be employed/.read$/
The text was updated successfully, but these errors were encountered: