Merge branch 'acl-dont-have-empty-exception' into 'next'

fix: don't ignore ACLs when there is no content

See merge request famedly/conduit!705
This commit is contained in:
Matthias Ahouansou 2024-06-26 21:41:42 +00:00
commit 7a4d0f6fe8

View file

@ -1687,11 +1687,6 @@ impl Service {
}
};
if acl_event_content.allow.is_empty() {
// Ignore broken acl events
return Ok(());
}
if acl_event_content.is_allowed(server_name) {
Ok(())
} else {