简体   繁体   中英

Laravel - permission and roles package?

is there any package, in which can i create more complex role and permission hierarchy?

I have a lot of companies, that can log into a system. Each company has a superadmin, who can create another accounts for own company. These accounts will be in superadmin/admin/user roles. Superadmin of each company can set a different permissions for their roles.

Thanks

This package can be used in Laravel 5.4 or higher. If you are using an older version of Laravel, take a look at the v1 branch of this package.

You can install the package via composer:

composer require spatie/laravel-permission

https://github.com/spatie/laravel-permission

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM