[rotang] Handling shifts spanning PDT/PST changes.

The Shift StartTime is in MTV time.
This CL handles changes between PDT/PST; without this change half the
year the shifts will show 23:00 instead of the expected 00:00 as the
start of a shift.

Time is hard.

Additionally the helperFunction adminOrOwner was added to get less repeated code
figuring out if the user owns the configuration to be changed.

Bug: 845549
Change-Id: Iac88d8f25b22008417fa3b098176000b2e7e92fc
Reviewed-on: https://chromium-review.googlesource.com/c/1258727
Reviewed-by: Tiffany Zhang <zhangtiff@chromium.org>
Commit-Queue: Ola Karlsson <olakar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#18080}
14 files changed
tree: 1f5854bde5e2c9be8293fa28a8cde90cf7557ff4
  1. cmd/
  2. pkg/
  3. BROWSE.md
  4. Makefile
  5. OWNERS
  6. README.md
  7. rotang.go
  8. rotang.infra_testing
README.md

Rota-NG

This is the home of the Rotation Manager-NG Design Doc.

The goal is replace the current Python script generating the Sheriff rota with this Go AppeEngine service. This to have a better base for running/managing the service and future developments