diff --git a/secret_store/src/acl_storage.rs b/secret_store/src/acl_storage.rs index 0a3ee9276..5b8284c6f 100644 --- a/secret_store/src/acl_storage.rs +++ b/secret_store/src/acl_storage.rs @@ -48,8 +48,8 @@ struct CachedContract { contract: Option, } -#[derive(Default, Debug)] /// Dummy ACL storage implementation (check always passed). +#[derive(Default, Debug)] pub struct DummyAclStorage { prohibited: RwLock>>, } @@ -121,8 +121,8 @@ impl CachedContract { } impl DummyAclStorage { + /// Prohibit given requestor access to given documents #[cfg(test)] - /// Prohibit given requestor access to given document pub fn prohibit(&self, public: Public, document: ServerKeyId) { self.prohibited.write() .entry(public)