SOLVED access denied - all menu sections (except Home)

Status
Not open for further replies.

USoff

New Member
Jun 21, 2017
6
0
1
43
After switching to master branch and executing

Code:
cd /var/www/fusionpbx
/usr/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php


I can't get access to all menu - except Home&dashboard&profile settings.

/logout.php does not help

I can't edit Group manager (to edit superadmin permissions) - because 'access denied' error

Any tips to change permissions to superadmin group from the cli?
 
Last edited:

USoff

New Member
Jun 21, 2017
6
0
1
43
Fixed by commenting out sections


in

/var/www/fusionpbx/core/groups/groups.php

Code:
//check permissions
   /*     if (permission_exists('group_view')) {
                //access granted
        }
        else {
                echo "access denied";
                exit;
        } */

and


/var/www/fusionpbx/core/groups/permissions_default.php

Code:
//check permisions
        if (!$included) {
                include "root.php";
                require_once "resources/require.php";
                require_once "resources/check_auth.php";
/*              if (permission_exists('group_edit')) {
                        //access granted
                }
                else {
                        echo "access denied";
                        return;
                }*/
        }

and going to https://mydomain/core/groups/permissions_default.php


P.S. and do not forget restoring default states of those files and logout/login for getting access with restored permissions.
 
Status
Not open for further replies.