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.

CommentFileSizeAuthor
#3 3257273-qa_accounts.patch975 bytesj-barnes

Comments

cameronprince created an issue. See original summary.

j-barnes’s picture

I 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.

j-barnes’s picture

StatusFileSize
new975 bytes

It 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.

j-barnes’s picture

Status: Active » Needs review

  • japerry committed f5ff378 on 8.x-1.x
    Issue #3257273 by j-barnes: "Anonymous or authenticated role ID must not...
japerry’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.