Compare commits

..
1 Commits
Author SHA1 Message Date
Stefan MelmukandGitHub ba55191676 apply policies only to confirmed members (#6892) 2026-03-04 06:58:39 +01:00
+1 -1
View File
@@ -269,7 +269,7 @@ impl OrgPolicy {
continue; continue;
} }
if let Some(user) = Membership::find_by_user_and_org(user_uuid, &policy.org_uuid, conn).await { if let Some(user) = Membership::find_confirmed_by_user_and_org(user_uuid, &policy.org_uuid, conn).await {
if user.atype < MembershipType::Admin { if user.atype < MembershipType::Admin {
return true; return true;
} }