Skip to content
Snippets Groups Projects
Unverified Commit 1d6bd1a0 authored by mo khan's avatar mo khan :palm_tree:
Browse files

Extract #can_any? to check multiple permissions

This change introduces a helper method called `#can_any?` to allow
checking for multiple abilities at once. This is helpful for the
development of Custom Roles as we are now starting to check for one
or more permissions in order to access specific UI elements and
endpoints.
parent e4ad9aff
No related branches found
No related tags found
2 merge requests!162233Draft: Script to update Topology Service Gem,!153333Extract #can_any? helper to check for multiple permissions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment