From 8fabf6817ffaa9f3c4e12d76135f51496820de91 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Feb 2017 15:35:46 +0200 Subject: [PATCH] test --- app/library/App/Resources/UserResource.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/library/App/Resources/UserResource.php b/app/library/App/Resources/UserResource.php index b764aba..f99b49a 100755 --- a/app/library/App/Resources/UserResource.php +++ b/app/library/App/Resources/UserResource.php @@ -24,17 +24,17 @@ class UserResource extends ApiResource { //->allow(AclRoles::ALL_ROLES) ->endpoint(ApiEndpoint::all() - ->allow(AclRoles::USER) + //->allow(AclRoles::USER) ->description('Returns all registered users') ) ->endpoint(ApiEndpoint::get('/me', 'me') - ->allow(AclRoles::USER) + //->allow(AclRoles::USER) ->description('Returns the currently logged in user') ) ->endpoint(ApiEndpoint::post('/authenticate', 'authenticate') - ->allow(AclRoles::UNAUTHORIZED) - ->deny(AclRoles::AUTHORIZED) + //->allow(AclRoles::UNAUTHORIZED) + //->deny(AclRoles::AUTHORIZED) ->description('Authenticates user credentials provided in the authorization header and returns an access token') ->exampleResponse([ 'token' => 'co126bbm40wqp41i3bo7pj1gfsvt9lp6', -- libgit2 0.21.4