From d75736d6b52225a99de0c99cd38546b574b4183b Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Feb 2017 14:56:48 +0200 Subject: [PATCH] user registration --- app/library/App/Resources/UserResource.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/library/App/Resources/UserResource.php b/app/library/App/Resources/UserResource.php index 0baf0a9..8f5e4df 100755 --- a/app/library/App/Resources/UserResource.php +++ b/app/library/App/Resources/UserResource.php @@ -21,6 +21,7 @@ class UserResource extends ApiResource { ->handler(UserController::class) ->itemKey('user') ->collectionKey('users') + ->allow(AclRoles::ALL_ROLES) ->endpoint(ApiEndpoint::all() ->allow(AclRoles::USER) -- libgit2 0.21.4