Add /access

This commit is contained in:
lorenz.stechauner committed 2024-09-17 13:06:58 +02:00
1 parent 702fa64aa8
commit 8d13f33978
8 files changed
+983 -10

No files matched your search

+16
View File
@@ -2,6 +2,8 @@
global $GITEA_TOKEN;
global $CREDENTIALS;
global $CLIENT_CREDENTIALS;
global $CLIENT_ACCESS;
global $COMBINED_ACCESS;
$GITEA_TOKEN = 'token';
@@ -14,3 +16,17 @@ $CLIENT_CREDENTIALS = [
'username' => 'password',
],
];
$CLIENT_ACCESS = [
'WGX' => [
'name' => 'Winzergenossenschaft',
'api' => 'https://example.com/elwig/api/v1',
],
];
$COMBINED_ACCESS = [
'HOLDING' => [
'name' => 'Name',
'clients' => ['WGX'],
],
];