From 481a6d95b0b5669f8dcc28757392ef806003063c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 31 Dec 2025 21:46:50 -0600 Subject: [PATCH] fix: grant access to alembic, tables, master view admin for new apps --- src/wuttaweb/views/common.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/wuttaweb/views/common.py b/src/wuttaweb/views/common.py index ef685c4..5414b51 100644 --- a/src/wuttaweb/views/common.py +++ b/src/wuttaweb/views/common.py @@ -201,8 +201,22 @@ class CommonView(View): # also make "Site Admin" role site_admin_perms = [ + "alembic.migrations.list", + "alembic.migrations.create", + "alembic.migrations.view", + "alembic.migrations.delete", + "alembic.migrations.configure", + "alembic.dashboard", + "alembic.migrate", + "app_tables.list", + "app_tables.create", + "app_tables.view", "appinfo.list", "appinfo.configure", + "master_views.list", + "master_views.create", + "master_views.configure", + "app_tables.view", "people.list", "people.create", "people.view",