Skip to content
Snippets Groups Projects
Verified Commit cb1ec053 authored by Robin Sander's avatar Robin Sander
Browse files

feat: add senderAccessRestricted to destination schema (planning#2534)

parent 485944d5
No related branches found
No related tags found
1 merge request!215feat: add senderAccessRestricted to destination schema (planning#2534)
......@@ -19,6 +19,10 @@ Don’t forget to tag @ https://git.fitko.de/fit-connect/submission-api/-/tags
## Unreleased
### Changed
* Erweiterung des destination Schemas um `senderAccessRestricted`, d.h. um die Möglichkeit, das Senden an diesen Zustellpunkt nur bestimmten Sendern zu erlauben ([planning#2534](https://git.fitko.de/fit-connect/planning/-/issues/2534)).
## [1.12.0]
### Added
......
type: string
format: uuid
minLength: 32
maxLength: 36
description: Die UUID eines Clients
......@@ -49,3 +49,5 @@ properties:
$ref: './contact-information.yaml'
callback:
$ref: './callback-url.yaml'
senderAccessRestricted:
$ref: './destination-sender-access-restricted.yaml'
title: Zustellpunkt
description: Repräsentation eines Zustellpunktes
description: Öffentliche Daten eines Zustellpunktes
type: object
required:
- destinationId
......@@ -43,3 +43,5 @@ properties:
description: >
Status des Zustellpunktes.
Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
senderAccessRestricted:
$ref: './destination-sender-access-restricted.yaml'
type: object
required:
- enabled
- allowedSenders
properties:
enabled:
type: boolean
description: |
Gibt an, ob das Senden an diesen Zustellpunkt beschränkt ist oder nicht.
Falls `true` dürfen ausschließlich Clients, deren ID in `allowedSenders` enthalten ist,
an diesen Zustellpunkt senden.
allowedSenders:
type: array
uniqueItems: true
items:
$ref: './client-id.yaml'
description: |
Auflistung der Client-IDs, die an diesen Zustellpunkt senden dürfen.
Die Clients müssen existieren und vom Typ `SENDER` sein.
minItems: 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment