-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New patch end point #11
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolver conflitos, ajustar use e responder dúvidas
@@ -18,6 +18,7 @@ | |||
use Hyperf\Config\Annotation\Value; | |||
use Hyperf\HttpServer\Contract\RequestInterface; | |||
use Psr\Http\Message\ResponseInterface as Psr7ResponseInterface; | |||
use Symfony\Component\Console\Helper\Dumper; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dependencia não utilizada
@@ -178,4 +179,25 @@ public function permission(RequestInterface $request, $uuid) | |||
'user' => $user, | |||
]); | |||
} | |||
|
|||
public function alterUserPermission(RequestInterface $request, $uuid){ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tem que verificar se a pessoa tem permissão para realizar a atualização?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isso nao seria tratado no middleware?
@@ -0,0 +1 @@ | |||
{"openapi":"3.0.0","paths":{"\/index":{"get":{"tags":["\/Index"],"summary":"GET example","operationId":"c7a3e07c42ef883719b986d0d3195666","responses":{"200":{"description":"Description of the returned value","content":{"application\/json":{"schema":[],"example":"{\"code\":200, \"data\":[]}"}}}}}}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pode remover
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no caso colocar no gitignore correto ?
Pr de alteracao de permissao de privilegios de usuarios