From 9c523a4de6de8fa35bff9a2a40d47650fa72754c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 15 Apr 2020 09:23:33 +0200 Subject: [PATCH] list_subdirs_api_method: allow access for Anybody --- proxmox/src/api/router.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxmox/src/api/router.rs b/proxmox/src/api/router.rs index 9d5d95e2..c13f24ef 100644 --- a/proxmox/src/api/router.rs +++ b/proxmox/src/api/router.rs @@ -195,6 +195,9 @@ macro_rules! list_subdirs_api_method { }), &$crate::api::schema::ObjectSchema::new("Directory index.", &[]) .additional_properties(true) + ).access( + "Any authenticated user may access the directory index.", + &$crate::api::Permission::Anybody ) } }