Fix [error] Non-existent permission(s) assigned to roles by moving configs to config install before applying the default recipe

Created on 13 July 2025, 3 months ago

Problem/Motivation

Facing the following errors with Drupal ~11.2.0 when installing in CI/CDs

 [error]  Non-existent permission(s) assigned to role "Authenticated user" (authenticated) were removed. Invalid permission(s): delete own landing_page content, edit own landing_page content. 
 [error]  Non-existent permission(s) assigned to role "Editor" (editor) were removed. Invalid permission(s): create landing_page content, edit any landing_page content, view landing_page revisions. 
 [error]  Non-existent permission(s) assigned to role "Content Admin" (content_admin) were removed. Invalid permission(s): create landing_page content, delete any landing_page content, edit any landing_page content, revert landing_page revisions, view landing_page revisions. 
 [error]  Non-existent permission(s) assigned to role "SEO Admin" (seo_admin) were removed. Invalid permission(s): create landing_page content, delete any landing_page content, edit any landing_page content, view landing_page revisions. 
 [error]  Non-existent permission(s) assigned to role "Site Admin" (site_admin) were removed. Invalid permission(s): create landing_page content, delete any landing_page content, edit any landing_page content, revert landing_page revisions, view landing_page revisions. 
 [success] Module varbase_landing has been installed.

Proposed resolution

  • Moving configs to config install before applying default recipe

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
🐛 Bug report
Status

Active

Version

10.1

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024