Spatie v3 (permissions) create permissions/roles can be shared with all guards without the need to add them more than one time to the tables?

后端 未结 0 520
北海茫月
北海茫月 2020-12-13 06:10
// Create a manager role for users authenticating with the any guard: 
// (role can be use by any guard)
$role = Role::create([\'guard_name\' => \'*\', \'name\' =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题