NGU-Web/server/src/routes
Zaldimmar 80877a4659 Let Google Workspace groups grant admin access
Site settings → Access names a group for each of admin, editor and
viewer (migration 047). Someone in one who signs in with Google gets a
Google-only account with their highest group's role, and the role
follows the groups: at every sign-in, hourly while signed in, and on
Panel → Google groups → Re-sync now. Out of every group, the account
is disabled and signed out until they're back in one.

Group accounts' roles are locked in the Panel; a superadmin's Disable
sticks. Superadmins and admin-cli accounts are never changed. If
Google can't be asked, sign-ins are refused but the hourly check
leaves accounts alone. Panel → Check their groups tests an email.

Lookups use the service account through the Directory API as
GOOGLE_DIRECTORY_AS. Setup: docs/google-sign-in.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 17:44:04 -05:00
..
admin-entities.js Tidy the structure the audit found 2026-09-29 03:02:21 -05:00
admin.js Add a Request form, with files in Google Drive and email notices 2026-09-29 15:54:00 -05:00
auth.js Let Google Workspace groups grant admin access 2026-09-29 17:44:04 -05:00
blog.js Give blog posts an optional table of contents 2026-09-29 09:21:48 -05:00
clips.js Tidy the structure the audit found 2026-09-29 03:02:21 -05:00
content.js Tidy the structure the audit found 2026-09-29 03:02:21 -05:00
directory.js More audit cleanup: shared route cache helper, url columns, tab keys 2026-09-29 02:02:24 -05:00
feedback.js Add a Request form, with files in Google Drive and email notices 2026-09-29 15:54:00 -05:00
history.js More audit cleanup: shared route cache helper, url columns, tab keys 2026-09-29 02:02:24 -05:00
home.js More audit cleanup: shared route cache helper, url columns, tab keys 2026-09-29 02:02:24 -05:00
import.js Add a Request form, with files in Google Drive and email notices 2026-09-29 15:54:00 -05:00
media.js Tidy the structure the audit found 2026-09-29 03:02:21 -05:00
pages.js Tidy the structure the audit found 2026-09-29 03:02:21 -05:00
panel.js Let Google Workspace groups grant admin access 2026-09-29 17:44:04 -05:00
people.js Tidy the structure the audit found 2026-09-29 03:02:21 -05:00
requests.js Keep Drive files in named folders of one shared drive 2026-09-29 16:53:40 -05:00