Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
// with null team_id it creates a global role; global roles can be assigned to any team and they are unique
Role::create(['name' => 'writer', 'team_id' => null]);
what does this mean in documentation?
as long as i understand you cant assign 1 role to many teams. there is even no code that would show assigning a role to team. you can only create role with team_id and again what does making it null gives? in my case, i cant assign a role with team_id null to any user.
Beta Was this translation helpful? Give feedback.
All reactions