This project is not covered by Drupal’s security advisory policy.
Canvas Component Access lets site builders control which Canvas components are available to which user roles. By default, every user who can access the Canvas editor sees all components (when except of a few due to access controls) - this module adds per-component role restrictions so you can curate the editor experience for different teams.
Features
- Restrict any Canvas component (SDC or block) to specific user roles
- Permissions-style admin form with search filter - familiar UI for Drupal admins
- Opt-in model: components are unrestricted by default, you only configure the ones you want to limit
- Components grouped by provider for easy navigation
- Uses Drupal's entity access system
Post-Installation
1. Grant the "Administer Canvas component access" permission to the appropriate role
2. Navigate to Administration > Configuration > Content authoring > Canvas Component Access (/admin/config/canvas/component-access)
3. Check the roles that should have access to each component - leave all unchecked to keep it available to everyone
4. Save configuration
Restricted components will no longer appear in the Canvas editor picker for users without the allowed roles.
Similar projects
I couldn't find any existing module for per-component role-based access in Canvas so created this.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Content editing experience
- Ecosystem: Drupal Canvas Plugin
- Created by georgebc on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.