Audited the permissions names. Permissions names are to be non plural.
This commit is contained in:
@@ -30,7 +30,7 @@ require_once "resources/paging.php";
|
||||
if (permission_exists('dialplan_add')
|
||||
|| permission_exists('inbound_route_add')
|
||||
|| permission_exists('outbound_route_add')
|
||||
|| permission_exists('time_conditions_add')) {
|
||||
|| permission_exists('time_condition_add')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user