Add new scopes

This commit is contained in:
Matej Bačo
2026-04-17 16:45:04 +02:00
parent 1a46fc2006
commit 489b2c4e21
4 changed files with 14 additions and 0 deletions
+2
View File
@@ -55,6 +55,8 @@ $admins = [
'tables.write',
'platforms.read',
'platforms.write',
'templates.read',
'templates.write',
'projects.write',
'keys.read',
'keys.write',
+8
View File
@@ -204,4 +204,12 @@ return [ // List of publicly visible scopes
"description" =>
"Access to create, update, and delete project\'s platforms",
],
"templates.read" => [
"description" =>
"Access to read project\'s templates",
],
"templates.write" => [
"description" =>
"Access to create, update, and delete project\'s templates",
],
];
@@ -376,6 +376,8 @@ class Migrations extends Action
'keys.write',
'platforms.read',
'platforms.write',
'templates.read',
'templates.write',
]
]);
+2
View File
@@ -169,6 +169,8 @@ trait ProjectCustom
'keys.write',
'platforms.read',
'platforms.write',
'templates.read',
'templates.write',
],
]);