By editor, 5 December, 2015 Create a custom permission in Drupal 8 Tags Drupal 8 Code Permission Drupal 9 Example with a module 'mymodule' Step 1. Create if not exist yet, mymodule.permissions.yml (root of mymodule) Add your new permission like: