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

Option for custom logic for checking permissions #1891

Merged
merged 3 commits into from
Oct 29, 2021

Conversation

ulhaq
Copy link
Contributor

@ulhaq ulhaq commented Oct 13, 2021

This could be useful in cases where we don't want to retrieve the permissions from the database on every request.
For example, when permissions are stored and retrieved from an access token.

@PaolaRuby
Copy link
Contributor

@freekmurze @Nielsvanpach @drbyte is this package abandoned?

@freekmurze
Copy link
Member

@ulhaq Could you add an entry in the docs with a clear example on why you would use this option?

@PaolaRuby no

@PaolaRuby
Copy link
Contributor

@freekmurze docs added

@freekmurze freekmurze merged commit b3a995c into spatie:main Oct 29, 2021
@freekmurze
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants