Audited the permissions names. Permissions names are to be non plural.
This commit is contained in:
@@ -35,8 +35,8 @@ if (permission_exists('dialplan_add')
|
||||
|| permission_exists('outbound_route_edit')
|
||||
|| permission_exists('fifo_edit')
|
||||
|| permission_exists('fifo_add')
|
||||
|| permission_exists('time_conditions_add')
|
||||
|| permission_exists('time_conditions_edit')) {
|
||||
|| permission_exists('time_condition_add')
|
||||
|| permission_exists('time_condition_edit')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user