This can be particularly useful to, for example, grant permissions to all authenticated users that have at least one additional role. That can help with not having to update the permission map every time the permissions for new or existing admin roles are changed in relation to viewing or editing entities. A regular expression can match users that have at least one additional role and the user will then inherit the permissions granted at the entity level.

Comments

krystalcode created an issue. See original summary.

  • krystalcode committed 8317c82b on 1.x
    [#3548548] Added example using regular expressions
    
    By: krystalcode
    

  • krystalcode committed 701d98d3 on 1.x
    [#3548548] Added support for role matching using regular expressions
    
    By...

krystalcode’s picture

Status: Active » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.