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:
commit
7a4d0f6fe8
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
if acl_event_content.is_allowed(server_name) {
|
||||||
Ok(())
|
Ok(())
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue