diff --git a/app/library/App/Resources/ProjectResource.php b/app/library/App/Resources/ProjectResource.php index 368582a..c512562 100644 --- a/app/library/App/Resources/ProjectResource.php +++ b/app/library/App/Resources/ProjectResource.php @@ -28,21 +28,13 @@ class ProjectResource extends ApiResource { ->handler(CrudResourceController::class) ->itemKey('project') ->collectionKey('projects') - ->allow(AclRoles::UNAUTHORIZED) + ->deny(AclRoles::UNAUTHORIZED) - ->endpoint(ApiEndpoint::all() - ->description('Returns all projects') - ) + ->endpoint(ApiEndpoint::all()) ->endpoint(ApiEndpoint::create()) ->endpoint(ApiEndpoint::find()) ->endpoint(ApiEndpoint::update()) ->endpoint(ApiEndpoint::remove()) - - - ->endpoint(ApiEndpoint::get('/test', 'test') - ->allow(AclRoles::USER) - ->description('Returns tall projects') - ) ; } -- libgit2 0.21.4