diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 1e33b30f470..fa3c34860bb 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2399,7 +2399,7 @@ if ($usercanedit && (($action == 'updatesource' || $action == 'updatecontent' || } // Export site -if ($action == 'exportsite') { +if ($action == 'exportsite' && $user->hasRight('website', 'export')) { $fileofzip = $object->exportWebSite(); if ($fileofzip) {