[pve-devel] [PATCH 2/2] remove storage access permissions after delete
Alen Grizonic
a.grizonic at proxmox.com
Wed Aug 19 10:28:13 CEST 2015
---
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..06656ae 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.1.4
More information about the pve-devel
mailing list