fix rights for exportwebsite
This commit is contained in:
parent
5f4e584425
commit
bfae93b3b3
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue