Modules in the profile cannot access to roles during the installation

Created on 26 June 2023, over 1 year ago

Problem/Motivation

This is a follow up of 📌 Remove special case of User module install Fixed , in which it removed installing the user module in the install_base_system. The step next to the base system is install_bootstrap_full. During this step, modules (from a installation profile) are installed. Because the user module is not installed prior, therefore, module installation depends on user features such as roles will be broken. Here is one example, fontawesome module accesses authenticated user role during the installation https://git.drupalcode.org/project/fontawesome/-/blob/8.x-2.x/fontawesom...

Steps to reproduce

1. Put fontawesome module in a custom profile
2. Install that profile on Drupal 10.1.0 or above

Proposed resolution

Remaining tasks

Figure out a change record and give an example on how contrib modules should adapt.

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.1

Component
Install 

Last updated 3 days ago

No maintainer
Created by

🇨🇳China skyredwang Shanghai

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

Comments & Activities

Production build 0.71.5 2024