Commit cdfba281e512a1b1e334e9f3ee493028bbd299cc
1 parent
02077db9
test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Resources/ProjectResource.php
@@ -28,7 +28,7 @@ class ProjectResource extends ApiResource { | @@ -28,7 +28,7 @@ class ProjectResource extends ApiResource { | ||
28 | ->handler(CrudResourceController::class) | 28 | ->handler(CrudResourceController::class) |
29 | ->itemKey('project') | 29 | ->itemKey('project') |
30 | ->collectionKey('projects') | 30 | ->collectionKey('projects') |
31 | - ->deny(AclRoles::UNAUTHORIZED) | 31 | + ->allow(AclRoles::UNAUTHORIZED) |
32 | 32 | ||
33 | ->endpoint(ApiEndpoint::all() | 33 | ->endpoint(ApiEndpoint::all() |
34 | ->description('Returns all projects') | 34 | ->description('Returns all projects') |