Issue using Teams permissions #2070
Unanswered
rubabnaziri
asked this question in
Q&A
Replies: 1 comment
-
Read documentation or other discussions, you forget the |
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.
-
I have been struggling with an issue for quite some time now. Tried multiple approaches.
I have Roles, Permissions, Users, Groups. Groups is Team in Spatie terms.
Roles have Permissions.
Users have Roles
Groups have Roles and Users.
A user may have multiple groups and multiple roles.
When I try to assign a role to the user I get a SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "group_id" of relation "model_has_roles" violates not-null constraint DETAIL: Failing row contains (2, user, 2, null).
Beta Was this translation helpful? Give feedback.
All reactions