diff --git a/app/library/App/Resources/UserResource.php b/app/library/App/Resources/UserResource.php index 423bf27..23dfab9 100755 --- a/app/library/App/Resources/UserResource.php +++ b/app/library/App/Resources/UserResource.php @@ -21,7 +21,6 @@ class UserResource extends ApiResource { ->handler(UserController::class) ->itemKey('user') ->collectionKey('users') - ->deny(AclRoles::UNAUTHORIZED, AclRoles::USER) ->endpoint(ApiEndpoint::all() ->allow(AclRoles::USER) @@ -41,7 +40,7 @@ class UserResource extends ApiResource { ]) ) ->endpoint(ApiEndpoint::post('/registration', 'registration')) - ->allow(AclRoles::AUTHORIZED) + ->allow(AclRoles::UNAUTHORIZED) ->description('Registration') ; } -- libgit2 0.21.4