Skip to content

Commit 4742797

Browse files
committed
fix: test failures
1 parent 732a2b4 commit 4742797

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ _APP_FUNCTIONS_MAINTENANCE_INTERVAL=600
7171
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes
7272
_APP_EXECUTOR_SECRET=your-secret-key
7373
_APP_EXECUTOR_HOST=http://proxy/v1
74-
_APP_FUNCTIONS_RUNTIMES=
74+
_APP_FUNCTIONS_RUNTIMES=php-8.0,node-18.0,python-3.9,ruby-3.1
7575
_APP_MAINTENANCE_INTERVAL=86400
7676
_APP_MAINTENANCE_RETENTION_CACHE=2592000
7777
_APP_MAINTENANCE_RETENTION_EXECUTION=1209600

app/config/roles.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use Appwrite\Auth\Auth;
44

55
$member = [
6+
'global',
67
'public',
78
'home',
89
'console',
@@ -24,6 +25,7 @@
2425
];
2526

2627
$admins = [
28+
'global',
2729
'graphql',
2830
'teams.read',
2931
'teams.write',
@@ -95,6 +97,6 @@
9597
],
9698
Auth::USER_ROLE_APPS => [
9799
'label' => 'Applications',
98-
'scopes' => ['public', 'health.read', 'graphql'],
100+
'scopes' => ['global', 'health.read', 'graphql'],
99101
],
100102
];

app/controllers/general.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ function router(App $utopia, Database $dbForConsole, SwooleRequest $swooleReques
814814

815815
App::wildcard()
816816
->groups(['api'])
817-
->label('scope', 'public')
817+
->label('scope', 'global')
818818
->action(function () {
819819
throw new AppwriteException(AppwriteException::GENERAL_ROUTE_NOT_FOUND);
820820
});

0 commit comments

Comments
 (0)