From 8db5fd03a225d256930f9a312c0ca0d7c82393db Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Mon, 24 Oct 2022 10:48:04 +0200 Subject: [PATCH] custom permissions --- schemas/api-config/permissions.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schemas/api-config/permissions.json b/schemas/api-config/permissions.json index 2aaf272..a3792d6 100644 --- a/schemas/api-config/permissions.json +++ b/schemas/api-config/permissions.json @@ -21,6 +21,10 @@ "^token:": { "description": "permissions for header or query token", "$ref": "#/definitions/permissionSet" + }, + "^[a-zA-Z0-9_]+$": { + "description": "custom permissions", + "$ref": "#/definitions/permissionSet" } }, "required": ["public", "user"],