72.3 User service implementation - addNewUser Testing (#8)

This commit is contained in:
Art
2021-09-09 14:43:42 +03:00
parent 8fd99f43ce
commit 4d9fae3b4e
3 changed files with 61 additions and 4 deletions

View File

@ -4,10 +4,10 @@ import static net.shyshkin.study.fullstack.supportportal.backend.constant.Author
public enum Role {
ROLE_USER(USER_AUTHORITIES),
ROlE_HR(HR_AUTHORITIES),
ROlE_MANAGER(MANAGER_AUTHORITIES),
ROlE_ADMIN(ADMIN_AUTHORITIES),
ROlE_SUPER_ADMIN(SUPER_ADMIN_AUTHORITIES);
ROLE_HR(HR_AUTHORITIES),
ROLE_MANAGER(MANAGER_AUTHORITIES),
ROLE_ADMIN(ADMIN_AUTHORITIES),
ROLE_SUPER_ADMIN(SUPER_ADMIN_AUTHORITIES);
private String[] authorities;