Web:Common:Utils: add new role 'Collaborator'

This commit is contained in:
Timofey Boyko 2023-02-27 15:21:04 +03:00
parent bcec1a9617
commit 1343c93db5

View File

@ -180,6 +180,7 @@ export const getUserRole = (user) => {
return "admin";
//TODO: Need refactoring
else if (user.isVisitor) return "user";
else if (user.isCollaborator) return "collaborator";
else return "manager";
};