diff --git a/app/sip_status/app_config.php b/app/sip_status/app_config.php
index e666fdfe09..04c12af847 100644
--- a/app/sip_status/app_config.php
+++ b/app/sip_status/app_config.php
@@ -45,5 +45,7 @@
$y++;
$apps[$x]['permissions'][$y]['name'] = "sip_status_command";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
-
+ $y++;
+ $apps[$x]['permissions'][$y]['name'] = "sip_status_flush_cache";
+ $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
?>
diff --git a/app/sip_status/sip_status.php b/app/sip_status/sip_status.php
index 21ddd70a3a..99fab63629 100644
--- a/app/sip_status/sip_status.php
+++ b/app/sip_status/sip_status.php
@@ -139,8 +139,10 @@
echo "
\n";
echo "
".$text['title-sip_status']."
\n";
echo "
\n";
- if (permission_exists('system_status_sofia_status')) {
+ if (permission_exists('sip_status_flush_cache')) {
echo button::create(['type'=>'button','label'=>$text['button-flush_cache'],'icon'=>'eraser','collapse'=>'hide-xs','link'=>'cmd.php?action=cache-flush']);
+ ]
+ if (permission_exists('sip_status_command')) {
echo button::create(['type'=>'button','label'=>$text['button-reload_acl'],'icon'=>'shield-alt','collapse'=>'hide-xs','link'=>'cmd.php?action=reloadacl']);
echo button::create(['type'=>'button','label'=>$text['button-reload_xml'],'icon'=>'code','collapse'=>'hide-xs','link'=>'cmd.php?action=reloadxml']);
}