Problem/Motivation

The Varbase recipe previously depended directly on core recipes:

  • core/recipes/administrator_role
  • core/recipes/content_editor_role

This fragmented responsibility for user roles and made it harder to centralize user-related defaults and enhancements within the Varbase ecosystem.

To ensure consistent role provisioning and base user configuration across all downstream recipes, user setup should execute first through a dedicated Varbase base recipe.

Proposed resolution

  • Add dependency on:
    • drupal/varbase_users_base (1.0.x-dev) in composer.json
  • Update recipe.yml:
    • Remove core/recipes/administrator_role
    • Remove core/recipes/content_editor_role
    • Add varbase_users_base as the first recipe to run before all others

Result

  • User roles and base user configuration are initialized first.
  • Cleaner separation of concerns within Varbase recipes.
  • Centralized and extensible user role management.
  • Better alignment with the recipe-first architecture approach.

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
  • ❌ Release varbase-11.0.0-alpha1, varbase_starter-1.0.0-alpha1

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • feat: #3576455 Add Varbase Users Base recipe to run before all recipes in Varbase Starter

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed 4f5152a3 on 1.0.x
    feat: #3576455 Add Varbase Users Base recipe to run before all recipes...

  • rajab natshah committed 20258143 on 1.0.x
    feat: #3576455 Add testing user scripts for Varbase Starter with...
rajab natshah’s picture

Assigned: rajab natshah » Unassigned
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.

rajab natshah’s picture

rajab natshah’s picture