Issue with required permissions when creating a custom profile using acquia_cms_starterkit as one of the default enabled modules.

Created on 25 January 2024, 10 months ago

Problem/Motivation

I am creating a custom profile using acquia cms starter as one of the modules to be installed during profile installation.
When running the drush site:install command i get following issues:
1. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "use text format full_html". (acquia_cms_common)
2. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create place content", "edit own place content", "delete own place content". (acquia_cms_place)
3. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create person content", "edit own person content", "delete own person content". (acquia_cms_person)
4. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create article content", "edit own article content", "delete own article content". (acquia_cms_article)
5. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create document media", "edit own document media", "delete own document media". (acquia_cms_document)
6. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create event content", "edit own event content", "delete own event content". (acquia_cms_event)
7. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create page content", "edit own page content", "delete own page content". (acquia_cms_page)
8. Adding non-existent permissions to a role is not allowed. The incorrect permissions are "create video media", "edit own video media", "delete own video media". (acquia_cms_video)
9. Only if we are adding acquia_cms_aite_studio also as part of install
Adding non-existent permissions to a role is not allowed. The incorrect permissions are "use text format cohesion".

Steps to reproduce

1. Create a custom profile and add acquia_cms_starter and acquia_cms_site_studio to the list of modules under install node in profile.info.yml file.
2. run drush si profile_name

Proposed resolution

I am able to work around this solution if we move certain configurations out of config/optional directory to config/install directory.
Attached a zip file of updated modules under the starter kit.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇮🇳India nishchit.dayal Ghaziabad

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

Comments & Activities

Production build 0.71.5 2024