mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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:
parent
f224001e35
commit
ef8e0c78b5
@ -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>
|
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_db.php: added in function "get_agent_modules" the
|
* include/functions_db.php: added in function "get_agent_modules" the
|
||||||
|
@ -22,8 +22,12 @@ check_login();
|
|||||||
require_once("include/functions_groups.php");
|
require_once("include/functions_groups.php");
|
||||||
|
|
||||||
if (is_ajax ()) {
|
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_json = (bool) get_parameter ('get_group_json');
|
||||||
$get_group_agents = (bool) get_parameter ('get_group_agents');
|
$get_group_agents = (bool) get_parameter ('get_group_agents');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user