Problem/Motivation

Every install prints:

Non-existent permission(s) assigned to role "Content editor" (content_editor) were removed. Invalid permission(s): create terms in tags, edit terms in tags.

core/recipes/standard gives the content editor role permissions on the tags vocabulary, so the vocabulary has to exist first. The recipe applies core/recipes/tags_taxonomy after it, or not at all, so the permissions are dropped and the editor role loses them.

Steps to reproduce

  1. drush site:install ../recipes/webapi_starter
  2. Read the install output.

Proposed resolution

Apply core/recipes/tags_taxonomy before core/recipes/standard.

Remaining tasks

  • ✅ Merge request merged
  • ✅ Review: the install warning is gone and the site serves
  • ✅ Released in 2.0.1

User interface changes

None.

API changes

None.

Data model changes

The tags vocabulary is created before the roles, as core expects.

AI-Generated: Yes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed 86a2b523 on 2.0.x
    fix: #3624630 The install warns about missing tags permissions
    
rajab natshah’s picture

Issue summary: View changes
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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