Add contact permissions to default settings. Default false (#6314)
* Change contact_permissions to contact.permissions * Update provision.php * Remove provision contact permissions for a broader setting. * Add contact permissions to default settings with a default value of false. * Update app_config.php
This commit is contained in:
@@ -893,7 +893,7 @@ include "root.php";
|
||||
|
||||
//get the list of contact directly assigned to the user
|
||||
if (is_uuid($domain_uuid)) {
|
||||
if ($_SESSION['provision']['contact_permissions']['boolean'] == "true") {
|
||||
if ($_SESSION['contact']['permissions']['boolean'] == "true") {
|
||||
//get the contacts assigned to the groups and add to the contacts array
|
||||
if (is_uuid($device_user_uuid) && $_SESSION['provision']['contact_groups']['boolean'] == "true") {
|
||||
$this->contact_append($contacts, $line, $domain_uuid, $device_user_uuid, 'groups');
|
||||
|
||||
Reference in New Issue
Block a user