From b9d07ea768bd5cc19ea179f3bc3c1426b3a0a384 Mon Sep 17 00:00:00 2001 From: Hussein Al Hammad Date: Tue, 21 Apr 2020 16:13:51 +0400 Subject: [PATCH] reorder and republish privileges --- pipit_catalog/modes/list.smartbar.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pipit_catalog/modes/list.smartbar.php b/pipit_catalog/modes/list.smartbar.php index 78242c6..2e1c562 100644 --- a/pipit_catalog/modes/list.smartbar.php +++ b/pipit_catalog/modes/list.smartbar.php @@ -39,7 +39,8 @@ 'title' => $Lang->get('Reorder'), 'link' => $API->app_nav().'/reorder/', 'icon' => 'core/menu', - 'position' => 'end', + 'position' => 'end', + 'priv' => 'pipit_catalog.reorder' ]); $ParentSmartbar->add_item([ @@ -47,7 +48,8 @@ 'title' => $Lang->get('Republish'), 'link' => $API->app_nav().'/republish/', 'icon' => 'core/documents', - 'position' => 'end', + 'position' => 'end', + 'priv' => 'pipit_catalog.republish' ]); echo $ParentSmartbar->render(); \ No newline at end of file