Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
mathieu
potage
Commits
c59b15b9
Commit
c59b15b9
authored
Jul 25, 2018
by
Mat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sécurise l'api ^^^
parent
e4093ea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/config/security.yml
app/config/security.yml
+1
-2
No files found.
app/config/security.yml
View file @
c59b15b9
...
...
@@ -30,7 +30,6 @@ security:
-
{
path
:
^/register
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/resetting
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/admin/
,
role
:
ROLE_ADMIN
}
## TODO Comment je sécurise l'APIBundle ? comme ça :
# - { path: ^/API/, role: ROLE_ADMIN }
-
{
path
:
^/API/
,
role
:
ROLE_ADMIN
}
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