php-casbin / laravel-authz

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

New feature proposal #48

Closed RafGiammario closed 5 months ago

RafGiammario commented 2 years 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 2 years ago

@leeqvip

leeqvip commented 2 years ago

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

leeqvip commented 2 years ago

@M1serry

nomeguy commented 5 months ago

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