Web:Common:Constants: add new employee types
This commit is contained in:
parent
6a8ce64942
commit
6eda3b0d89
@ -98,10 +98,10 @@ class UsersStore {
|
||||
|
||||
try {
|
||||
switch (type) {
|
||||
case "admin":
|
||||
case EmployeeType.DocSpaceAdmin:
|
||||
await changeAdmins(userIds, fullAccessId, true);
|
||||
break;
|
||||
case "manager":
|
||||
case EmployeeType.RoomAdmin:
|
||||
case EmployeeType.User:
|
||||
const actions = [];
|
||||
if (fromType.includes("admin")) {
|
||||
|
@ -27,6 +27,10 @@ export const EmployeeStatus = Object.freeze({
|
||||
export const EmployeeType = Object.freeze({
|
||||
User: 1,
|
||||
Guest: 2,
|
||||
UserString: "user",
|
||||
RoomAdmin: "manager",
|
||||
DocSpaceAdmin: "admin",
|
||||
Owner: "Owner",
|
||||
});
|
||||
/**
|
||||
* Enum for filter type.
|
||||
|
Loading…
Reference in New Issue
Block a user