fix: grant access to alembic, tables, master view admin for new apps
This commit is contained in:
parent
c6417b7b8b
commit
481a6d95b0
1 changed files with 14 additions and 0 deletions
|
|
@ -201,8 +201,22 @@ class CommonView(View):
|
||||||
|
|
||||||
# also make "Site Admin" role
|
# also make "Site Admin" role
|
||||||
site_admin_perms = [
|
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.list",
|
||||||
"appinfo.configure",
|
"appinfo.configure",
|
||||||
|
"master_views.list",
|
||||||
|
"master_views.create",
|
||||||
|
"master_views.configure",
|
||||||
|
"app_tables.view",
|
||||||
"people.list",
|
"people.list",
|
||||||
"people.create",
|
"people.create",
|
||||||
"people.view",
|
"people.view",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue