---
 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


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to