From 8271671a67a2b9df1157548f704ca51261fc1433 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Mon, 10 Nov 2025 14:32:53 -0800 Subject: [PATCH] Grant access to all groups for admins --- zooid/groups.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zooid/groups.go b/zooid/groups.go index aad2af3..3c80dff 100644 --- a/zooid/groups.go +++ b/zooid/groups.go @@ -223,7 +223,7 @@ func (g *GroupStore) UpdateMembersList(h string) error { // Other stuff func (g *GroupStore) HasAccess(h string, pubkey nostr.PubKey) bool { - return g.IsAdmin(h, pubkey) || g.IsMember(h, pubkey) + return g.Config.CanManage(pubkey) || g.IsAdmin(h, pubkey) || g.IsMember(h, pubkey) } func (g *GroupStore) IsGroupEvent(event nostr.Event) bool {