doorUpdater: Allow staff access to override lack of limited ops access
This commit is contained in:
parent
9970838b5c
commit
ed1cbdcd2d
@ -107,7 +107,7 @@ class MembershipworksMember(Member):
|
||||
schedules = []
|
||||
if door.name in self.doorAccess and not self.onHold and not self.formerMember:
|
||||
# members should get their normal schedules
|
||||
if self.limitedOperations:
|
||||
if self.limitedOperations or "CMS Staff" in self.levels:
|
||||
schedules = self.schedules + doorLevels
|
||||
|
||||
# members should get only the staffed hours schedule
|
||||
|
Reference in New Issue
Block a user