Skip to content

Commit

Permalink
add operator to check all user permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
  • Loading branch information
SwikritiT committed Nov 24, 2023
1 parent a32466e commit d32526a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/OpenProjectAPIService.php
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ public function getAvailableOpenProjectProjects(string $userId): array {
'storageUrl' =>
['operator' => '=', 'values' => [$this->urlGenerator->getBaseUrl()]],
'userAction' =>
['operator' => '=', 'values' => ["file_links/manage", "work_packages/create"]]
['operator' => '&=', 'values' => ["file_links/manage", "work_packages/create"]]
];
$params = [
'filters' => \Safe\json_encode($filters)
Expand Down

0 comments on commit d32526a

Please sign in to comment.