Project

General

Profile

« Previous | Next » 

Revision 9a08ea71

Added by Jim Pingle almost 14 years ago

Add privilege to directly access dashboard widgets if needed for ajax.

View differences:

etc/inc/priv.defs.inc
426 426
$priv_list['page-system-login/logout']['match'] = array();
427 427
$priv_list['page-system-login/logout']['match'][] = "index.php*";
428 428

  
429
$priv_list['page-system-login/logout'] = array();
430
$priv_list['page-system-login/logout']['name'] = "WebCfg - System: Direct access to dashboard widgets.";
431
$priv_list['page-system-login/logout']['descr'] = "Allow direct access to the Dashboard widget pages, required for some widgets using AJAX.";
432
$priv_list['page-system-login/logout']['match'] = array();
433
$priv_list['page-system-login/logout']['match'][] = "*.widget.php*";
434

  
429 435
$priv_list['page-interfaces'] = array();
430 436
$priv_list['page-interfaces']['name'] = "WebCfg - Interfaces: WAN page";
431 437
$priv_list['page-interfaces']['descr'] = "Allow access to the 'Interfaces' page.";

Also available in: Unified diff