Closed grantholle closed 1 year ago
Also, if you don't mind adding the hacktoberfest-accepted
tag to this, it would be really helpful in my goal of contributing during Hacktoberfest. Thanks!
I've ran into the same situation when checking roles assignment. I have a scoped assigned role, but when I check $user->isA($role)
when there isn't a scope set, it still passes.
I will try to include an update for that.
Hi @JosephSilber, any plans to get this merged? Thanks for taking the time!
Whoops. I should've gotten to this way sooner, especially since you put in all that work creating the issue, the repro repo and a PR with tests! Sorry.
I left you a small review. Check it out, and let's get this merged.
Thanks man, I've made those suggested edits. No worries on the delay!
Never mind, my local repo was out of date with this. Anyway, you were right on all of the suggestions.
Merged. Thanks!
Well, this broke my app, but in a good way because it turns out we had scopes set when they weren't even being used (best guess is experimentation 😅).
Fix #607. This has the expected behavior and not so eager to grant permissions when you may not want them to be granted.