Core: fixed permissions checking
This commit is contained in:
parent
8a2920f3e4
commit
cd684de7cc
@ -63,7 +63,7 @@ public class UserSecurityProvider : SecurityObject
|
||||
EmployeeType.DocSpaceAdmin => new[] { AuthConstants.DocSpaceAdmin },
|
||||
EmployeeType.RoomAdmin => new[] { AuthConstants.RoomAdmin },
|
||||
EmployeeType.User => new[] { AuthConstants.User },
|
||||
_ => throw new NotImplementedException(),
|
||||
_ => Array.Empty<IRole>(),
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user