NGU-Web/server/src/migrations
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
..
023_schema.sql Clean up code found in the audit 2026-09-28 22:02:03 -05:00
024_front_page_video.sql Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
025_hero_backdrop_feature.sql Let the hero's photos or brand backdrop sit behind a stream or video 2026-09-26 18:29:40 -05:00
026_countdown_filters.sql Let the front page countdown filter by event scope and type 2026-09-26 19:59:29 -05:00
027_listed.sql Add a Listed flag: published records reachable only by their link 2026-09-27 14:50:41 -05:00
028_media.sql Add image uploads with a media library, and event card backgrounds 2026-09-27 15:04:45 -05:00
029_event_card_image.sql Add image uploads with a media library, and event card backgrounds 2026-09-27 15:04:45 -05:00
030_featured_cards.sql Add a Featured Content section to the front page 2026-09-27 15:56:29 -05:00
031_blog.sql Add a blog: posts at /blog/:id and a Community page section 2026-09-27 16:27:08 -05:00
032_content_block_types.sql Improve content blocks: new types, formatting, and a better editor 2026-09-27 16:50:21 -05:00
033_hero_event.sql Add a featured event as a hero option 2026-09-27 20:58:37 -05:00
034_schedule_block.sql Add a Schedule content block with day tabs 2026-09-27 21:12:47 -05:00
035_site_settings.sql Add Site settings: name, description, icons, page titles, indexing 2026-09-28 00:36:58 -05:00
036_clip_jobs.sql Add a video clip tool: download our videos, cut, reshape, export 2026-09-28 02:43:05 -05:00
037_leadership_published_orgs.sql Harden security found in the audit 2026-09-28 21:56:49 -05:00
038_image_alt_text.sql Fix accessibility found in the audit 2026-09-28 22:07:56 -05:00
039_privacy_contact.sql Add the Privacy and Terms pages, data requests and click-to-load embeds 2026-09-28 22:34:46 -05:00
040_drop_event_gradient.sql Add colour tokens, dark mode and drop gradients 2026-09-28 22:42:59 -05:00
041_site_colors.sql Let superadmins change the whole colour palette 2026-09-28 23:26:35 -05:00
042_person_awards_index.sql Make the site faster to load and lighter on the server 2026-09-29 02:41:45 -05:00
043_blog_contents.sql Give blog posts an optional table of contents 2026-09-29 09:21:48 -05:00
044_table_block.sql Move link cards into their own migration 2026-09-29 15:53:58 -05:00
045_card_block.sql Move link cards into their own migration 2026-09-29 15:53:58 -05:00
046_content_requests.sql Add a Request form, with files in Google Drive and email notices 2026-09-29 15:54:00 -05:00
047_access_groups.sql Let Google Workspace groups grant admin access 2026-09-29 17:44:04 -05:00