Roleassign checks the core account fieldset to overwrite the roles field.
However, when using
Account field split →
the role field can be hidden.
Roleassign does not check this situation. The roleassign field is rendered, but roles are not updated on user save.
Install and enable
Account field split →
.
Hide the roles field in the form mode manager.
Edit a user, there is an 'Assignable roles' field.
When saving the user, the roles are not updated.
Rewrite the condition so splitted account variables are properly handled.
Create a gereric solution to check for $form['account']['roles].
Active
2.0
Code