Skip to content

Commit

Permalink
added missing API SCOPE
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed May 7, 2024
1 parent 723b8b1 commit af3be86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Service/ExAppApiScopeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ class ExAppApiScopeService {
public function __construct(
) {
$aeApiV1Prefix = '/apps/' . Application::APP_ID . '/api/v1';
$aeApiV2Prefix = '/apps/' . Application::APP_ID . '/api/v2';
$this->apiScopes = [
// AppAPI scopes
['api_route' => $aeApiV1Prefix . '/ui/files-actions-menu', 'scope_group' => 1, 'name' => 'BASIC', 'user_check' => 0],
['api_route' => $aeApiV2Prefix . '/ui/files-actions-menu', 'scope_group' => 1, 'name' => 'BASIC', 'user_check' => 0],
['api_route' => $aeApiV1Prefix . '/ui/top-menu', 'scope_group' => 1, 'name' => 'BASIC', 'user_check' => 0],
['api_route' => $aeApiV1Prefix . '/ui/initial-state', 'scope_group' => 1, 'name' => 'BASIC', 'user_check' => 0],
['api_route' => $aeApiV1Prefix . '/ui/script', 'scope_group' => 1, 'name' => 'BASIC', 'user_check' => 0],
Expand Down

0 comments on commit af3be86

Please sign in to comment.