mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added an very basic API implementation for KICAD
This commit is contained in:
parent
6b0f0d31b9
commit
22f8448c65
2 changed files with 123 additions and 0 deletions
|
@ -71,3 +71,5 @@ security:
|
|||
- { path: "^/\\w{2}/tree", role: PUBLIC_ACCESS }
|
||||
# Restrict access to API to users, which has the API access permission
|
||||
- { path: "^/api", allow_if: 'is_granted("@api.access_api") and is_authenticated()' }
|
||||
# Restrict access to KICAD to users, which has API access permission
|
||||
- { path: "^/kicad-api", allow_if: 'is_granted("@api.access_api") and is_authenticated()' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue