Zum Inhalt springen

REST-API: Permissions

Als Markdown ansehen

Erzeugt aus dem OpenAPI-Dokument des Daemons. Konventionen, Anmeldung, der CSRF-Header und der WebSocket stehen unter API.

Administrators only. Every grant of the group; its members have them all.

Parameter

Name Ort Typ Pflicht Beschreibung
groupId path integer (int64) ja

Antworten

Jeder Fehler antwortet mit Problem Details (application/problem+json) und einem stabilen Code aus der Fehlerreferenz.

Administrators only. Replaces every grant of the group. Refused when no active administrator would be left.

Parameter

Name Ort Typ Pflicht Beschreibung
groupId path integer (int64) ja

Anfrage-Body: application/json: GrantsRequest

Antworten

Jeder Fehler antwortet mit Problem Details (application/problem+json) und einem stabilen Code aus der Fehlerreferenz.

Administrators only. The special rights, file protocols and apps a grant can name, in the order the editors show them.

Antworten

Jeder Fehler antwortet mit Problem Details (application/problem+json) und einem stabilen Code aus der Fehlerreferenz.

Administrators only. The user’s own grants, the grants its groups give it (the built-in group users included) and what it may do in the end.

Parameter

Name Ort Typ Pflicht Beschreibung
userId path integer (int64) ja

Antworten

Jeder Fehler antwortet mit Problem Details (application/problem+json) und einem stabilen Code aus der Fehlerreferenz.

Administrators only. Replaces every grant of the user. Refused when no active administrator would be left; applies to the user’s next request and is pushed to its desktop.

Parameter

Name Ort Typ Pflicht Beschreibung
userId path integer (int64) ja

Anfrage-Body: application/json: GrantsRequest

Antworten

Jeder Fehler antwortet mit Problem Details (application/problem+json) und einem stabilen Code aus der Fehlerreferenz.