mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: update API
This commit is contained in:
@@ -34,7 +34,6 @@ security:
|
|||||||
access_control:
|
access_control:
|
||||||
- { path: ^/api/login, roles: PUBLIC_ACCESS }
|
- { path: ^/api/login, roles: PUBLIC_ACCESS }
|
||||||
- { path: ^/api$, roles: PUBLIC_ACCESS }
|
- { path: ^/api$, roles: PUBLIC_ACCESS }
|
||||||
- { path: ^/api, roles: IS_AUTHENTICATED_FULLY }
|
|
||||||
# - { path: ^/admin, roles: ROLE_ADMIN }
|
# - { path: ^/admin, roles: ROLE_ADMIN }
|
||||||
# - { path: ^/profile, roles: ROLE_USER }
|
# - { path: ^/profile, roles: ROLE_USER }
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,8 @@ use Symfony\Component\Serializer\Attribute\Groups;
|
|||||||
'event:list',
|
'event:list',
|
||||||
'entity:list',
|
'entity:list',
|
||||||
'domain-entity:entity',
|
'domain-entity:entity',
|
||||||
'nameserver-entity:nameserver'
|
'nameserver-entity:nameserver',
|
||||||
|
'nameserver-entity:entity'
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user