Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose permissions collection through all method #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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