diff --git a/uw_custom_forms.permissions.yml b/uw_custom_forms.permissions.yml new file mode 100644 index 0000000000000000000000000000000000000000..375ded3ceecaa21b1ec9468803e6a59af6bcb0b9 --- /dev/null +++ b/uw_custom_forms.permissions.yml @@ -0,0 +1,3 @@ +access uw custom forms user settings: + title: 'Access UW custom forms user settings' + description: 'Access the list of users per uw custom forms.' diff --git a/uw_custom_forms.routing.yml b/uw_custom_forms.routing.yml index c5ad3d95b6a35d27792172f9e25480d9dbbc792f..97a6c8eae90879476243a840ea8e0f81c97618fa 100644 --- a/uw_custom_forms.routing.yml +++ b/uw_custom_forms.routing.yml @@ -11,7 +11,7 @@ admission_requirements_form.users: _form: '\Drupal\uw_custom_forms\Form\AdmissionRequirementsFormUsers' _title: 'Admission requirements user settings' requirements: - _custom_access: '\Drupal\uw_custom_forms\Form\AdmissionRequirementsFormUsers::access' + _permission: 'access uw custom forms user settings' admission_requirements_form.settings: path: '/admin/config/admission-requirements-form/settings' defaults: