From eb720241da3d786c6ec79f2325277fa4af23846f Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 26 Feb 2025 13:04:55 +0100 Subject: [feature] Enforce OAuth token scopes (#3835) * move tokenauth to apiutil * enforce scopes * docs * update test models, remove deprecated "follow" * file header * tests * tweak scope matcher * simplify... * fix tests * log user out of settings panel in case of oauth error --- internal/api/client/admin/domainallowget.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/client/admin/domainallowget.go') diff --git a/internal/api/client/admin/domainallowget.go b/internal/api/client/admin/domainallowget.go index aa21743fa..6ed845235 100644 --- a/internal/api/client/admin/domainallowget.go +++ b/internal/api/client/admin/domainallowget.go @@ -43,7 +43,7 @@ import ( // // security: // - OAuth2 Bearer: -// - admin +// - admin:read:domain_allows // // responses: // '200': -- cgit v1.2.3