fix: update API

This commit is contained in:
Maël Gangloff
2024-07-18 03:03:46 +02:00
parent a26f75bbad
commit 09120c1fb7
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,6 @@ security:
access_control:
- { path: ^/api/login, roles: PUBLIC_ACCESS }
- { path: ^/api$, roles: PUBLIC_ACCESS }
- { path: ^/api, roles: IS_AUTHENTICATED_FULLY }
# - { path: ^/admin, roles: ROLE_ADMIN }
# - { path: ^/profile, roles: ROLE_USER }

View File

@@ -36,7 +36,8 @@ use Symfony\Component\Serializer\Attribute\Groups;
'event:list',
'entity:list',
'domain-entity:entity',
'nameserver-entity:nameserver'
'nameserver-entity:nameserver',
'nameserver-entity:entity'
]
]
),