*/
public $menuItems = array();
+ /**
+ * @see wcf\data\AbstractDatabaseObjectAction::$permissionsDelete
+ */
+ protected $permissionsDelete = array('admin.display.canManagePageMenu');
+
+ /**
+ * @see wcf\data\AbstractDatabaseObjectAction::$permissionsUpdate
+ */
+ protected $permissionsUpdate = array('admin.display.canManagePageMenu');
+
/**
* @see wcf\data\IDatabaseObjectAction::create()
*/
if ($this->menuItemEditor->isLandingPage) {
throw new PermissionDeniedException();
}
+
+ parent::validateUpdate();
}
/**