fix: use stable engine authentik groups
This commit is contained in:
@@ -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" } : {}),
|
||||
|
||||
Reference in New Issue
Block a user