You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Orchid provides roles to group permissions and adds them to a certain user.
the issue is I cannot add a role to an existing user or create a new user with a role.
To Reproduce
Steps to reproduce the behavior:
got to the users list
select a user to edit ( or click new user )
add a role to it
Expected behavior
a role should be assigned to the user
Screenshots
Issue face when trying to update:
Issue faced when creating a new user with a role:
The text was updated successfully, but these errors were encountered:
@HijenHEK looks like it more about mass assignment problem within your User model. You're basically allowing roles field to be filled. Edit your protected $fillable property so it didn't contain roles (or maybe you have empty $guarded)
Description
Orchid provides roles to group permissions and adds them to a certain user.
the issue is I cannot add a role to an existing user or create a new user with a role.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
a role should be assigned to the user
Screenshots
Issue face when trying to update:
Issue faced when creating a new user with a role:
The text was updated successfully, but these errors were encountered: