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
The following workaround works for me.
Change (Line 34 of Plugin.php) $model->belongsToMany['groups'] = ['ShahiemSeymor\Roles\Models\Group', 'table' => 'shahiemseymor_assigned_roles', 'otherKey' => 'role_id'];
with $model->belongsToMany['anythingelse'] = ['ShahiemSeymor\Roles\Models\Group', 'table' => 'shahiemseymor_assigned_roles', 'otherKey' => 'role_id'];
And
Change (Line 67 of Plugin.php) $widget->addFields([ 'groups' => [ 'label' => 'Groups', 'commentAbove' => 'Specify which groups this person belongs to.', 'tab' => 'Roles', 'type' => 'relation' ] ], 'primary');
with $widget->addFields([ 'anythingelse' => [ 'label' => 'Groups', 'commentAbove' => 'Specify which groups this person belongs to.', 'tab' => 'Roles', 'type' => 'relation' ] ], 'primary');
On backend section is unable to change user group in "ROLES" tab, because form input is named same as default groups ...
On "Account" tab is User[groups][] checkboxes,
and on "Roles" tab is User[groups][] checkboxes...
Then when i will change user role in Roles tab, then checkbox is "checked" on Account tab, no on Roles tab...
Maybe is needed to change checkboxes name from User[groups][] to User[roles][]
The text was updated successfully, but these errors were encountered: