I have done this which seems to work ok as Admin and as a Restricted User...
File: iv-admin/controllers/IndexController.php
After:
127: public function renameAction()
128: {
I added:
if (ivAcl::getAllowedPath() == ivPath::canonizeRelative($this->path)){
ivMessenger::add(ivMessenger::ERROR, 'Cannot rename root folder');
$this->_redirect('index.php?path=' . smart_urlencode($this->path));
}
Also added the code to the Delete and Hide functions, altering the message appropriately.
