2012-12-14 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Disable the events view when event replication is enabled git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
40a209bfee
commit
eadc5d5749
|
@ -1,3 +1,8 @@
|
|||
2012-12-14 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/events/events.php: Disable the events view
|
||||
when event replication is enabled
|
||||
|
||||
2012-12-10 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* datos_agente.php, snapshot.php: Seems some browsers
|
||||
|
|
|
@ -32,6 +32,13 @@ if (! check_acl ($config["id_user"], 0, "IR")) {
|
|||
return;
|
||||
}
|
||||
|
||||
if(isset($config['event_replication']) && $config['event_replication'] == 1) {
|
||||
db_pandora_audit("ACL Violation",
|
||||
"Trying to access event viewer. View disabled due event replication.");
|
||||
ui_print_error_message('Event viewer is disabled due event replication. For more information, please contact with the administrator');
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_ajax ()) {
|
||||
$get_event_tooltip = (bool) get_parameter ('get_event_tooltip');
|
||||
$validate_event = (bool) get_parameter ('validate_event');
|
||||
|
|
Loading…
Reference in New Issue