2011-02-15 Javier Lanz <javier.lanz@argica.es>

* godmode/groups/group_list.php: Fixed ACL checkings

	Fix #3175824


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-02-15 15:18:23 +00:00
parent 826b7e5835
commit 68488f4235
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-02-15 Javier Lanz <javier.lanz@argica.es>
* godmode/groups/group_list.php: Fixed ACL checkings
Fix #3175824
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added in function "get_agent_modules" the

View File

@ -22,8 +22,12 @@ check_login();
require_once("include/functions_groups.php");
if (is_ajax ()) {
check_acl($config['id_user'], 0, "AR");
if (! give_acl($config['id_user'], 0, "AR")) {
pandora_audit("ACL Violation", "Trying to access Group Management");
require ("general/noaccess.php");
return;
}
$get_group_json = (bool) get_parameter ('get_group_json');
$get_group_agents = (bool) get_parameter ('get_group_agents');