fix: use stable engine authentik groups

This commit is contained in:
DCCONSTRUCTIONS
2026-05-23 16:20:23 +03:00
parent 179508f4c9
commit 04dbf19b59
4 changed files with 13 additions and 23 deletions
+1 -4
View File
@@ -2315,9 +2315,6 @@ function getAppCatalog() {
}
const engineRequiredGroups = [
"nodedc:engine:admin",
"nodedc:engine:editor",
"nodedc:engine:viewer",
"nodedc_admin",
"nodedc_editor",
"nodedc_viewer",
@@ -2394,7 +2391,7 @@ async function requestEngineInternalJson(pathname, init = {}) {
headers: {
Accept: "application/json",
Authorization: `Bearer ${config.internalAccessToken}`,
"X-Authentik-Groups": "nodedc_admin nodedc:engine:admin",
"X-Authentik-Groups": "nodedc_admin",
"X-Authentik-Email": "launcher-internal@nodedc.ru",
"X-Authentik-Username": "launcher-internal@nodedc.ru",
...(hasBody ? { "Content-Type": "application/json" } : {}),