Root roles with Team Feature #2657
Unanswered
WhiskeyM1ke
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the Team feature, but I also want the ability to create root roles for users who will have the ability to perform functions on the main app, not just within teams. When I create an admin role that would ideally be a root role, then try to assign it to a user, I get an error:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'team_id' cannot be null (Connection: mysql, SQL: insert into
model_has_roles(
model_id,
model_type,
role_id,
team_id) values (1, App\Models\User, 1, ?))
Beta Was this translation helpful? Give feedback.
All reactions