If the auto_create_user_per_new_role config is set to true, a "Anonymous or authenticated role ID must not be assigned manually" error occurs during site install using the --existing-config option.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3257273-qa_accounts.patch | 975 bytes | j-barnes |
Comments
Comment #2
j-barnes commentedI am also experiencing this issue when trying to set the auto-generate roles to true. It's currently failing on our Acquia Pipeline with the below error:
The import failed due to the following reasons: Unexpected error during import with operation create for user.role.anonymous: Anonymous or authenticated role ID must not be assigned manually.
Comment #3
j-barnes commentedIt looks like the hook never skips the anonymous role because the createQaAccounts() isn't used for the hook portion. Adding a patch that checks for the user role id of anonymous.
Comment #4
j-barnes commentedComment #6
japerry