Skip to content

Conversation

njohns-grovo
Copy link
Contributor

Good Evening!

Recently I've had the need to fetch all permissions of a caller for display on a table, the only way to accomplish this at the moment is to explicitly check $action on a caller. The alternative is to code around this library which is not wonderful.

This feature exposes a collection of Permission objects. Useful in situations where you need to display tables of permissions a user is allowed or denied.

The underlying getPermissions method is exposed as a public function "all".

Take care,
Nicholas

This feature exposes a colleciton of Permission objects.
Useful in situations where you need to display tables of
permissions a user is allowed or denied.

The underlying getPermissions method is exposed
as a public function "all".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant