moved attributes under docs
This commit is contained in:
parent
cc95edf4dc
commit
a02db13278
@ -48,8 +48,8 @@ struct CachedContract {
|
||||
contract: Option<SecretStoreAclStorage>,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug)]
|
||||
/// Dummy ACL storage implementation (check always passed).
|
||||
#[derive(Default, Debug)]
|
||||
pub struct DummyAclStorage {
|
||||
prohibited: RwLock<HashMap<Public, HashSet<ServerKeyId>>>,
|
||||
}
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user