JosephSilber / bouncer

Laravel Eloquent roles and abilities.
MIT License
3.45k stars 332 forks source link

New features #567

Open corbinjurgens opened 3 years ago

corbinjurgens commented 3 years ago

Hey there

I've been casually adding a bunch of features to Bouncer. While some of them may unsuited to be part of the Bouncer package, I think others could be useful. Especially

I wonder if there's anything that seems useful to anyone else. I'm also curious if anyone has a better solution for my Scope Items "whereCan" scope. I had to take a long winded approach to creating the query and I'm not sure if its appropriate or messy.

If there is any parts that inspire you, feel free to implement.

Sorry that a lot of my added code is not yet tidied with Phpdocs yet.

dhcmega commented 1 month ago

Hi, can you share your solution? thanks!