Web:Common:Utils: add new role 'Collaborator'
This commit is contained in:
parent
bcec1a9617
commit
1343c93db5
@ -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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user