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

Gate::before callback can't support custom guard name #1459

Closed
git-liu opened this issue Apr 27, 2020 · 1 comment
Closed

Gate::before callback can't support custom guard name #1459

git-liu opened this issue Apr 27, 2020 · 1 comment
Labels

Comments

@git-liu
Copy link

git-liu commented Apr 27, 2020

PermissionRegistrar register Gate::before callback can't set custom guard, check permission always use default guard. Can support custom guard name ?

@git-liu git-liu changed the title Gate:before callback can't support custom guard name Gate::before callback can't support custom guard name Apr 27, 2020
@drbyte
Copy link
Collaborator

drbyte commented Apr 27, 2020

@git-liu if you manually make the changes to Guard.php as shown in PR #1384 (yes, by temporarily editing the file in your vendor directory), does that solve the problem you're facing? I realize it handles it in a different place, but I'm thinking that it's the same issue.

@drbyte drbyte added the support label Apr 27, 2020
@drbyte drbyte closed this as completed Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants