Using group access checks in route definitions
Last updated on
18 October 2025
This documentation needs work. See "Help improve this page" in the sidebar.
There are some services tagged with access_check that you can, for example, use to check group permissions in your route definitions. Here is a list of some of them.
| Service | Description | Key |
| GroupPermissionAccessCheck | Checks if the user has a specific group permission | _group_permission |
| GroupMemberAccessCheck | Checks if an user is member of a specific group | _group_member |
| GroupInstalledContentAccessCheck | _group_installed_content | |
| GroupOwnsContentAccessCheck | _group_owns_content | |
| GroupRelationshipCreateAccessCheck | _group_content_create_access | |
| GroupRelationshipCreateAnyAccessCheck | _group_content_create_any_access | |
| GroupRelationshipCreateEntityAccessCheck | _group_content_create_entity_access | |
| GroupRelationshipCreateAnyEntityAccessCheck | _group_content_create_any_entity_access | |
| GroupLatestRevisionCheck | _group_latest_revision |
Here is an example using the _group_permission access tag.
requirements:
_group_permission: 'group permission name'Help improve this page
Page status: Needs work
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion