Register Module Foundry service handoff
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user