Register Module Foundry service handoff

This commit is contained in:
DCCONSTRUCTIONS
2026-07-23 13:53:56 +03:00
parent 332e097116
commit 24d01fc813
4 changed files with 158 additions and 1 deletions
+8
View File
@@ -205,6 +205,14 @@ export function resolveRequiredGroups(data, user) {
groupNames.add(platformGroups.taskManagerAdmin);
groupNames.add(platformGroups.taskManagerUser);
addGroups(groupNames, resolveEngineRoleGroups("member"));
// The platform super-admin is the default owner of every internally
// registered service. This also keeps the Authentik view consistent with
// the Launcher control-plane grants (including Module Foundry).
for (const service of data.services) {
if (service.authentikGroupName) {
groupNames.add(service.authentikGroupName);
}
}
return [...groupNames];
}