Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
bdl_visualiseur_core
Commits
d9e8e4c6
Commit
d9e8e4c6
authored
Dec 15, 2020
by
Chef Projet Prodige
Browse files
don't verify rights on model
parent
e5777bbd
Pipeline
#15936
failed with stages
in 1 minute and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Controllers/Traits/ContextTrait.php
View file @
d9e8e4c6
...
...
@@ -65,7 +65,7 @@ Trait ContextTrait
$contextFilename
=
str_replace
(
'.map'
,
'.geojson'
,
$contextPath
);
//temp context not checked
if
(
$this
->
beginsWith
(
$contextPath
,
"/layers/TMP_"
)
||
$this
->
beginsWith
(
$contextPath
,
"/carteperso/"
)){
if
(
$this
->
beginsWith
(
$contextPath
,
"/layers/TMP_"
)
||
$this
->
beginsWith
(
$contextPath
,
"/carteperso/"
)
||
$this
->
beginsWith
(
$contextPath
,
"/MODEL_"
)
){
$checkRights
=
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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