Core: fixed permissions checking

This commit is contained in:
Maksim Chegulov 2022-12-13 14:11:37 +03:00
parent 8a2920f3e4
commit cd684de7cc

View File

@ -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>(),
};
}