From 2a2cf20aa9d0397d59040bde280aada052bbafcc Mon Sep 17 00:00:00 2001 From: Alen Grizonic Date: Wed, 19 Aug 2015 10:28:13 +0200 Subject: [PATCH] remove storage access permissions after delete --- PVE/API2/Storage/Config.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PVE/API2/Storage/Config.pm b/PVE/API2/Storage/Config.pm index 4255299..e5c57ee 100755 --- a/PVE/API2/Storage/Config.pm +++ b/PVE/API2/Storage/Config.pm @@ -254,7 +254,9 @@ __PACKAGE__->register_method ({ cfs_write_file('storage.cfg', $cfg); }, "delete storage failed"); - + + PVE::AccessControl::remove_storage_access($storeid); + return undef; }}); -- 2.39.2