lumen-api-oauth
lumen-api-oauth copied to clipboard
Give user to update his email id and password?
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
I am working on this feature.