Skip to content

Commit

Permalink
fix: reinstate transport manager ability to have TC role (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilindsay authored Nov 21, 2024
1 parent c4c5cda commit fd9f8a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/api/module/Api/src/Entity/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class User extends AbstractUser implements OrganisationProviderInterface
RoleEntity::ROLE_OPERATOR_TM,
],
self::USER_TYPE_TRANSPORT_MANAGER => [
RoleEntity::ROLE_OPERATOR_TC,
RoleEntity::ROLE_OPERATOR_ADMIN,
RoleEntity::ROLE_OPERATOR_USER,
RoleEntity::ROLE_OPERATOR_TM,
Expand Down Expand Up @@ -103,6 +104,7 @@ class User extends AbstractUser implements OrganisationProviderInterface
self::PERMISSION_TM => [RoleEntity::ROLE_OPERATOR_TM],
],
self::USER_TYPE_TRANSPORT_MANAGER => [
self::PERMISSION_TC => [RoleEntity::ROLE_OPERATOR_TC],
self::PERMISSION_ADMIN => [RoleEntity::ROLE_OPERATOR_ADMIN],
self::PERMISSION_USER => [RoleEntity::ROLE_OPERATOR_USER],
self::PERMISSION_TM => [RoleEntity::ROLE_OPERATOR_TM],
Expand Down

0 comments on commit fd9f8a5

Please sign in to comment.