Loading
fix: #3628827 Publish the starter context items and grant editorial roles published AI context
Issue: https://www.drupal.org/project/varbase_ai_context/issues/3628827
- Ship the three starter context items with
moderation_state: published, so the editorial workflow no longer creates them as drafts. - Grant
access published ai contextto Site Admin, SEO Admin, Content Admin and Content editor inrecipe.yml, with the samegrantPermissionspattern the other Varbase AI recipes use. - README: drop Image Alt from the consumer list, since alt text does not receive the items yet. CHANGELOG entries under Unreleased.
Testing
Fresh Varbase 11 site (Drupal 11.4.8, Context Control Center 1.0.0-rc1), recipe applied with drush recipe: all three items published, the permission on the four roles only, a Content editor gets all three items from context selection while a user without those roles gets none, and re-applying adds no duplicates. Local composer-validate and yaml-lint jobs pass.
At the default token budget (1200) the selector truncates one item's text. Out of scope here.
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah