We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
using Bouncer v1.0.1 In unit tests i have:
allow('some-admin')->to('manage', Some::class); Bouncer::dontCache(); $user->assign('some-admin'); Bouncer::refresh(); $user->isA('some-admin'); // returns true $user->can('manage', Some::class); // returns true $user->retract('some-admin'); Bouncer::refresh(); $user->isA('some-admin'); // returns false $user->can('manage', Some::class); // returns true where it should be false
not using any scopes
The text was updated successfully, but these errors were encountered:
That doesn't sound right. Testing it myself, I can't reproduce it. Could you maybe make a small repository demonstrating this issue?
Sorry, something went wrong.
thank you for getting back so promptly, did not expect that.
It leads me thinking it might be some configuration, will investigate/create repo, and report back
No branches or pull requests
using Bouncer v1.0.1
In unit tests i have:
not using any scopes
The text was updated successfully, but these errors were encountered: