- Issue created by @iankmcilwraith
Cloning the Administrator role creates a new role, however all permissions are selected yet disabled just like the configured Administrator role. This should not occur since there can only be one Administrator role on a site.
Additionally, this warning will be thrown upon cloning a role:
Warning: Undefined array key "status" in Drupal\entity_clone\Form\EntityCloneForm->submitForm() (line 338 of modules/contrib/entity_clone/src/Form/EntityCloneForm.php).
Cloning the Administrator role should create a new role with all permissions selected, but they should not be disabled, like any other non-Administrator role. Additionally, re-saving the role settings configuration should not be required.
None.
None.
None.
Active
2.0
Code