feat: #3584713 Add "Allow Edit Global Regions" permission to restrict editing of global page regions
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
- Documentation
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
AI disclosure (per Drupal AI contribution policy): AI (Claude Code, Opus 4.8) assisted in generating the canvas_entity_access() hook, the edit canvas global regions permission, and the PageRegionGlobalEditAccessTest kernel test. All code was reviewed and verified by the human contributor (Rajab Natshah), who remains fully responsible for its logic, security, and licensing.
Edited by Rajab Natshah