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
"app/Http/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "6abfd0f357c7de19b9b69a4201dd4e4b8c5c5efe"
Commit
fad45c80
authored
Aug 22, 2022
by
GuilhermeGz
Browse files
Ajuste na validação da rota de relatórios
parent
6ee26c41
Changes
1
Show 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