Added User Group setting for allowable reports to restrict report viewing

Enabled User Group setting for allowable campaigns to restrict report viewing and admin.php activity
Changed level 7 users to only view reports links page
Changed "Admin" link to go to an admin links page instead of Phones listing
Added manual_dial_filter CAMPLISTS_ALL options

git-svn-id: svn://192.168.202.10@1491 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-08-03 19:02:42 +00:00
parent 42b9e6e713
commit 5be4d855e6
29 changed files with 1134 additions and 395 deletions
+3 -2
View File
@@ -597,7 +597,8 @@ agent_xfer_vm_transfer ENUM('Y','N') default 'Y',
agent_xfer_blind_transfer ENUM('Y','N') default 'Y',
agent_xfer_dial_with_customer ENUM('Y','N') default 'Y',
agent_xfer_park_customer_dial ENUM('Y','N') default 'Y',
agent_fullscreen ENUM('Y','N') default 'N'
agent_fullscreen ENUM('Y','N') default 'N',
allowed_reports VARCHAR(2000) default 'ALL REPORTS'
);
CREATE TABLE vicidial_campaigns (
@@ -2295,7 +2296,7 @@ ALTER TABLE vicidial_agent_log_archive MODIFY agent_log_id INT(9) UNSIGNED NOT N
CREATE TABLE vicidial_carrier_log_archive LIKE vicidial_carrier_log;
UPDATE system_settings SET db_schema_version='1237',db_schema_update_date=NOW();
UPDATE system_settings SET db_schema_version='1238',db_schema_update_date=NOW();
GRANT RELOAD ON *.* TO cron@'%';
GRANT RELOAD ON *.* TO cron@localhost;
+4
View File
@@ -447,3 +447,7 @@ ALTER TABLE vicidial_inbound_groups ADD timer_action_destination VARCHAR(30) def
ALTER TABLE vicidial_live_agents ADD external_timer_action_destination VARCHAR(100) default '';
UPDATE system_settings SET db_schema_version='1237',db_schema_update_date=NOW();
ALTER TABLE vicidial_user_groups ADD allowed_reports VARCHAR(2000) default 'ALL REPORTS';
UPDATE system_settings SET db_schema_version='1238',db_schema_update_date=NOW();