Co-authored-by: Michael Hoennig <michael@hoennig.de> Co-authored-by: Michael Hönnig <michael@hoennig.de> Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/103 Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
21 lines
558 B
YAML
21 lines
558 B
YAML
|
|
components:
|
|
|
|
parameters:
|
|
|
|
currentSubject:
|
|
name: current-subject
|
|
in: header
|
|
required: true
|
|
schema:
|
|
type: string
|
|
description: Identifying name of the current subject (e.g. user).
|
|
|
|
assumedRoles:
|
|
name: assumed-roles
|
|
in: header
|
|
required: false
|
|
schema:
|
|
type: string
|
|
description: Semicolon-separated list of roles to assume. The current subject needs to have the right to assume these roles.
|