lumen-api-oauth icon indicating copy to clipboard operation
lumen-api-oauth copied to clipboard

Give user to update his email id and password?

Open 6mayjiten opened this issue 6 years ago • 1 comments

If user is not admin it can not change his data but i need that if users want to change his data he can do. please suggest how i can do that?

$this->isOwner([ 'posts' => ['destroy', 'update'], 'comments' => ['destroy', 'update'], 'users' => ['update'] ]); $this->isAdmin([ 'users' => ['destroy'] ]);

is this change to authorizeServiceprovider class will work?

If not please assist me how i can achieve this. Thanks

6mayjiten avatar Sep 23 '17 20:09 6mayjiten

I am working on this feature.

iseth avatar Aug 01 '18 18:08 iseth