Skip to content

The correct way to use permissions to filter data? #2021

Answered by erikn69
singleseeker asked this question in Q&A
Discussion options

You must be logged in to vote

Overwrite checkPermissionTo adding your custom check

public function checkPermissionTo($permission, $guardName = null): bool

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@singleseeker
Comment options

Answer selected by singleseeker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants