diff --git a/utils/cli/hpc_access_cli/states.py b/utils/cli/hpc_access_cli/states.py index ca8324d..29d5259 100644 --- a/utils/cli/hpc_access_cli/states.py +++ b/utils/cli/hpc_access_cli/states.py @@ -576,6 +576,9 @@ def build_hpcproject(p: LdapGroup, quotas: Dict[str, str]) -> Optional[HpcProjec group = None else: group = group_uuids[group_by_gid_number[gid_number].cn] + owner_uuid = user_uuids[user_by_dn[group_by_gid_number[gid_number].owner_dn].uid] + if owner_uuid not in members: + members.append(owner_uuid) return HpcProject( uuid=group_uuids[p.cn], name=name,