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:
Mark Crane
2013-03-16 15:14:36 +00:00
parent faeee96624
commit 1ab5f67234
3 changed files with 15 additions and 7 deletions

View File

@@ -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";