2022-04-27 11:30:43 +02:00

23 lines
694 B
YAML

description: 'Displays all user permissions.'
help: |
Display all user permissions and also list all user permissions from a specific user role.
List all user permissions:
<info>drupal debug:permission</info>
List all user permissions from a user role
<info>drupal debug:permission authenticated</info>
arguments:
role: 'User role'
messages:
role-error: 'Role "%s" does not exist. Please use an existing user role.'
table-headers:
permission-name: 'Permission name'
permission-label: 'Permission Label'
permission-role: 'Role'
examples:
- description: 'Displays all the permissions availables on the site'
execution: |
drupal debug:permission