Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
Consultant Administrator
option to add users page (#363)
* feat: add operator-tc to permission list * feat: add `user_type` and `permission_type` of operator-tc * chore: php.xml Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * fix: removed 2 roles have same permissions Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * fix: add `operator-tc` to user type `transport-manager` Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * fix: re-added 2 roles on same permission Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * feat: give the role-entity `operator-tc` its own permission Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * fix: allowed `operator-tc` permission to be passed as admin Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * chore: removed php.xml Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * fix: removed `operator-tc` user type to follow [ROLE]=[USER_TYPE][PERMISSION] Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * fix: changed `operator-tc` to `tc` when refrencing the `tc` permission Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> * wip: unit testing of selfserverCreateUser commandhandler * fix: removed testing for selfserverCreateUser commandhandler * fix: fixed tests * chore: update lock files --------- Signed-off-by: Gabriel Guimaraes <80750139+gabrielg2020@users.noreply.github.com> Co-authored-by: Shaun Hare <shaun.hare@dvsa.gov.uk>
- Loading branch information