Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
potage
Commits
c59b15b9
Commit
c59b15b9
authored
Jul 25, 2018
by
Mat
Browse files
sécurise l'api ^^^
parent
e4093ea5
Changes
1
Show whitespace changes
Inline
Side-by-side
app/config/security.yml
View file @
c59b15b9
...
@@ -30,7 +30,6 @@ security:
...
@@ -30,7 +30,6 @@ security:
-
{
path
:
^/register
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/register
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/resetting
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/resetting
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/admin/
,
role
:
ROLE_ADMIN
}
-
{
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
Supports
Markdown
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