feat: add employee-only supervisor role nominated by crm selection 1487
This commit is contained in:
1 parent
5f95492a7f
commit
93512b8345
6 files changed
+49
-1
No files matched your search
@@ -41,6 +41,7 @@ class CrmAttributesResponseParser
|
||||
1478 => Role::GROUPS_ADMIN,
|
||||
1483 => Role::CUSTOMER_EXPERT,
|
||||
1484 => Role::TEAM_ADMIN,
|
||||
1487 => Role::SUPERVISOR,
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -46,6 +46,7 @@ final class Role
|
||||
public const GROUPS_MANAGER = 'ROLE_GROUPS_MANAGER';
|
||||
public const CUSTOMER_EXPERT = 'ROLE_CUSTOMER_EXPERT';
|
||||
public const EMPLOYEE = 'ROLE_EMPLOYEE';
|
||||
public const SUPERVISOR = 'ROLE_SUPERVISOR';
|
||||
|
||||
/**
|
||||
* Appended to an administrative role to mark it as claimed by the CRM but not yet approved.
|
||||
@@ -72,6 +73,7 @@ final class Role
|
||||
self::GROUPS_MANAGER,
|
||||
self::CUSTOMER_EXPERT,
|
||||
self::EMPLOYEE,
|
||||
self::SUPERVISOR,
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -102,6 +104,7 @@ final class Role
|
||||
self::GROUPS_ADMIN,
|
||||
self::GROUPS_MANAGER,
|
||||
self::CUSTOMER_EXPERT,
|
||||
self::SUPERVISOR,
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -121,6 +124,7 @@ final class Role
|
||||
self::GROUPS_ADMIN,
|
||||
self::GROUPS_MANAGER,
|
||||
self::CUSTOMER_EXPERT,
|
||||
self::SUPERVISOR,
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -333,6 +337,7 @@ final class Role
|
||||
self::GROUPS_MANAGER => 'GRO-Expert:in',
|
||||
self::CUSTOMER_EXPERT => 'KO-Expert:in',
|
||||
self::EMPLOYEE => 'Mitarbeiter:in',
|
||||
self::SUPERVISOR => 'Leitung',
|
||||
];
|
||||
|
||||
foreach (self::ADMINISTRATIVE as $role) {
|
||||
|
||||
Reference in new issue
Block a user