php-casbin / laravel-authz

An authorization library that supports access control models like ACL, RBAC, ABAC in Laravel.
Apache License 2.0
272 stars 46 forks source link

New feature proposal #48

Closed RafGiammario closed 2 weeks ago

RafGiammario commented 1 year ago

Now in laravel-authz the artisan commands are really cool and useful and maybe can be make more generic.

For example, I have this situation for my roles:

[role_definition] g = _, _ g2 = _, _ g3 = _, _, _ So I ask if it's possible to extends artisan command role:assign to take g,g1,g3 as type parameter, to make easier to insert roles.

Thanks

hsluoyz commented 1 year ago

@leeqvip

leeqvip commented 1 year ago

@RafGiammario Good idea, we will implement it asap. You can submit a PR if you can.

leeqvip commented 1 year ago

@M1serry

nomeguy commented 1 month ago

@leeqvip closed by: https://github.com/php-casbin/laravel-authz/pull/68