mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-21 22:37:43 +00:00
list_subdirs_api_method: allow access for Anybody
This commit is contained in:
parent
da01ff1a72
commit
9c523a4de6
@ -195,6 +195,9 @@ macro_rules! list_subdirs_api_method {
|
|||||||
}),
|
}),
|
||||||
&$crate::api::schema::ObjectSchema::new("Directory index.", &[])
|
&$crate::api::schema::ObjectSchema::new("Directory index.", &[])
|
||||||
.additional_properties(true)
|
.additional_properties(true)
|
||||||
|
).access(
|
||||||
|
"Any authenticated user may access the directory index.",
|
||||||
|
&$crate::api::Permission::Anybody
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user