From 0732ae260d2e310b4909bf3d8913e21df4668854 Mon Sep 17 00:00:00 2001 From: Benjamin Somers Date: Tue, 26 Nov 2024 08:19:48 +0000 Subject: [PATCH] api: authorization_scriptlet Signed-off-by: Benjamin Somers --- doc/api-extensions.md | 4 ++++ internal/version/api.go | 1 + 2 files changed, 5 insertions(+) diff --git a/doc/api-extensions.md b/doc/api-extensions.md index c61aecb3ef8..bb2286922d4 100644 --- a/doc/api-extensions.md +++ b/doc/api-extensions.md @@ -2668,3 +2668,7 @@ This adds support to take screenshots of the current VGA console of a VM. ## `image_import_alias` Adds a new `X-Incus-aliases` HTTP header to set aliases while uploading an image. + +## `authorization_scriptlet` + +This adds the ability to define a scriptlet in a new configuration key, `authorization.scriptlet`, managing authorization on the Incus cluster. diff --git a/internal/version/api.go b/internal/version/api.go index 001c169e3fc..657c110cfaf 100644 --- a/internal/version/api.go +++ b/internal/version/api.go @@ -454,6 +454,7 @@ var APIExtensions = []string{ "storage_live_migration", "instance_console_screenshot", "image_import_alias", + "authorization_scriptlet", } // APIExtensionsCount returns the number of available API extensions.