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