Skip to content
Snippets Groups Projects
Commit 6ea5f664 authored by Tobias Gross-Vogt's avatar Tobias Gross-Vogt
Browse files

added access restriction

parent 264a4d31
No related branches found
No related tags found
No related merge requests found
Pipeline #88350 passed
...@@ -15,6 +15,7 @@ use Symfony\Component\Serializer\Annotation\Groups; ...@@ -15,6 +15,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* collectionOperations={ * collectionOperations={
* "get" = { * "get" = {
* "path" = "/course_attendees", * "path" = "/course_attendees",
* "security" = "is_granted('IS_AUTHENTICATED_FULLY')",
* "openapi_context" = { * "openapi_context" = {
* "tags" = {"Courses"} * "tags" = {"Courses"}
* } * }
...@@ -41,6 +42,7 @@ use Symfony\Component\Serializer\Annotation\Groups; ...@@ -41,6 +42,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
* itemOperations={ * itemOperations={
* "get" = { * "get" = {
* "path" = "/course_attendees/{identifier}", * "path" = "/course_attendees/{identifier}",
* "security" = "is_granted('IS_AUTHENTICATED_FULLY')",
* "openapi_context" = { * "openapi_context" = {
* "tags" = {"Courses"} * "tags" = {"Courses"}
* } * }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment