Yetiforcecrm: Error: Can' edit settings in Yetiforce 3.1 PBX Manager module

Created on 24 May 2016  路  1Comment  路  Source: YetiForceCompany/YetiForceCRM

After click in edit button all I can see is loading circle and YetiForce hangs and I got this error:

jquery.min.js?s=1463658048:2
Uncaught Error: Syntax error, unrecognized expression: {"success":false,"error":{"code":"LBL_NO_PERMISSIONS_FOR_THE_RECORD","message":"LBL_NO_PERMISSIONS_FOR_THE_RECORD"}}

In YetiForce 3.0 I haven't any problems with this module.

馃悰 bug

Most helpful comment

2981

in the file modules/PBXManager/models/Module.php at line 29 comment this line:

public function isPermitted($actionName) {
//if($actionName == 'EditView' || $actionName == 'CreateView')
//      return false;
//else
      return ($this->isActive() && Users_Privileges_Model::isPermitted($this->getName(), $actionName));
}

will activate the record editing and creating in the module call list(PBXManager).
Remove the comments after you configure the settings for asterisk if you want to disable this action in frontend.

>All comments

2981

in the file modules/PBXManager/models/Module.php at line 29 comment this line:

public function isPermitted($actionName) {
//if($actionName == 'EditView' || $actionName == 'CreateView')
//      return false;
//else
      return ($this->isActive() && Users_Privileges_Model::isPermitted($this->getName(), $actionName));
}

will activate the record editing and creating in the module call list(PBXManager).
Remove the comments after you configure the settings for asterisk if you want to disable this action in frontend.

Was this page helpful?
0 / 5 - 0 ratings