From ed1cbdcd2d4b38da1984ea49e36b418e320c6514 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 6 Jun 2020 16:53:22 -0400 Subject: [PATCH] doorUpdater: Allow staff access to override lack of limited ops access --- memberPlumbing/doorUpdater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memberPlumbing/doorUpdater.py b/memberPlumbing/doorUpdater.py index d21d417..e17040a 100755 --- a/memberPlumbing/doorUpdater.py +++ b/memberPlumbing/doorUpdater.py @@ -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