Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time based access levels #8

Open
johnmckerrell opened this issue May 25, 2018 · 1 comment
Open

Add time based access levels #8

johnmckerrell opened this issue May 25, 2018 · 1 comment

Comments

@johnmckerrell
Copy link
Member

We want to allow anyone that has a DoES fob access through the shutter during DoES's normal business hours. Bonus points for using a calendar to block bank holidays.

@johnmckerrell
Copy link
Member Author

I just started having a go at the config and came up with this:

periods:
    business:
      from: 570 # 9:30
      to: 1050 # 17:30
    maker-day:
      from: 600 # 10:00
      to: 1020 # 17:00

Then I realised I was going to need something to specify the days, and that it could get quite complicated with "2nd Saturday in the month". I then thought that really the best option would be to just give the calendar URL and then either have a regex of titles or some marker we put in the calendar. I suspect we'd want this to be a separate calendar to the events calendar so that we could have more control over it though generally it's nicer not to have things in multiple locations at once.

Any thoughts from anyone else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant