Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
fad45c80
Commit
fad45c80
authored
Aug 22, 2022
by
GuilhermeGz
Browse files
Ajuste na validação da rota de relatórios
parent
6ee26c41
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/ArquivoController.php
View file @
fad45c80
...
...
@@ -133,7 +133,9 @@ class ArquivoController extends Controller
$arquivos
=
[];
if
(
Auth
::
user
()
->
id
!=
$trabalho
->
proponente
->
user
->
id
){
if
(
Auth
::
user
()
->
id
!=
$trabalho
->
proponente
->
user
->
id
&&
Auth
::
user
()
->
tipo
!=
'administrador'
&&
Auth
::
user
()
->
tipo
!=
'coordenador'
){
return
redirect
()
->
back
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment