start ACL api
This commit is contained in:
1 parent
a83eab3c4d
commit
ed3e60ae69
5 files changed
+188
-5
No files matched your search
+5
-5
@@ -64,13 +64,13 @@ fn split_acl_path(path: &str) -> Vec<&str> {
|
||||
}
|
||||
|
||||
pub struct AclTree {
|
||||
root: AclTreeNode,
|
||||
pub root: AclTreeNode,
|
||||
}
|
||||
|
||||
struct AclTreeNode {
|
||||
users: HashMap<String, HashMap<String, bool>>,
|
||||
groups: HashMap<String, HashMap<String, bool>>,
|
||||
children: BTreeMap<String, AclTreeNode>,
|
||||
pub struct AclTreeNode {
|
||||
pub users: HashMap<String, HashMap<String, bool>>,
|
||||
pub groups: HashMap<String, HashMap<String, bool>>,
|
||||
pub children: BTreeMap<String, AclTreeNode>,
|
||||
}
|
||||
|
||||
impl AclTreeNode {
|
||||
|
||||
Reference in new issue
Block a user