Flush Cache button permissions

Status
Not open for further replies.

i3ioi-iazard

Member
Mar 14, 2018
52
0
6
36
Where does one edit the flush cache permissions for a user. I am going to Status and then Sip Status and then at the top looking for where to set this. I have made changes under menu manager and allowed the status one and also the sip status one. I also made changes under group manager and under sip status allow the three but still unable to flush cache.

I assume there is another permission that controls this. Help greatly appreciated. Thanks!
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
To have the buttons display you need the permission "system_status_sofia_status". BUT clicking the flush cache button calls:
/var/www/fusionpbx/app/sip_status/cmd.php
This script will only execute if you are superadmin:
Code:
//check permissions
    if (if_group("superadmin")) {
        //access granted
    }
    else {
        echo "access denied";
        exit;
    }
 
Status
Not open for further replies.