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
"resources/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "7f949d56b7a42482efad73454384e595969aa6e8"
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
...
@@ -133,7 +133,9 @@ class ArquivoController extends Controller
$arquivos
=
[];
$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
();
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