fiix(server): fixes some access thing
Build & Deploy / build (push) Successful in 2m29s

This commit is contained in:
2026-07-17 23:08:26 +02:00
parent 9176807135
commit c54c897703
+3 -1
View File
@@ -871,7 +871,7 @@ internal sealed class ManagementStore
var groupIds = GetApiKeyGroupIdsLocked(apiKeyId);
if (groupIds.Count == 0)
{
return GroupAccess.Unrestricted;
return GroupAccess.Empty;
}
var clientModels = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
@@ -1281,6 +1281,8 @@ internal sealed class GroupAccess
{
public static GroupAccess Unrestricted { get; } = new(new HashSet<string>(), new HashSet<string>(), isUnrestricted: true);
public static GroupAccess Empty { get; } = new(new HashSet<string>(), new HashSet<string>());
public IReadOnlySet<string> ClientModels { get; }
public IReadOnlySet<string> AllClients { get; }