Add /access
This commit is contained in:
@ -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'],
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user