mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add a new xml cdr permission to allow normal users to see all cdr records for a domain.
permission: xml_cdr_domain
This commit is contained in:
@@ -123,7 +123,7 @@ else {
|
||||
echo "</table>\n";
|
||||
|
||||
//search the call detail records
|
||||
if (if_group("admin") || if_group("superadmin")) {
|
||||
if (if_group("admin") || if_group("superadmin") || permission_exists('xml_cdr_domain')) {
|
||||
echo "<form method='post' action=''>\n";
|
||||
echo "<table width='95%' cellpadding='3' border='0'>\n";
|
||||
echo "<tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user