Skip to content

Commit

Permalink
Merge pull request #204 from localgovdrupal/feature/2.x-203-user-mana…
Browse files Browse the repository at this point in the history
…ger-role-constant

Define a constant for the user manager role
  • Loading branch information
finnlewis committed Feb 20, 2024
2 parents e81b5f0 + 7d5b1e2 commit 87d79dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/localgov_roles/src/RolesHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ class RolesHelper {
*/
const CONTRIBUTOR_ROLE = 'localgov_contributor';

/**
* User manager role machine name.
*/
const USER_MANAGER_ROLE = 'localgov_user_manager';

/**
* Assign permissions to roles if module has defaults.
*/
Expand Down

0 comments on commit 87d79dc

Please sign in to comment.