22 include_once (
"Class.QueryDb.php");
23 include_once (
"Class.Application.php");
24 include_once (
"Class.Acl.php");
25 include_once (
"Class.Permission.php");
26 include_once (
"Class.ObjectPermission.php");
50 if (!$p->IsAffected()) {
53 "id_application" => $appId
57 $p->deletePermission($userId, $appId, null, null);
58 $p->deletePermission(null, $appId, null,
true);
60 if (is_array($aclp)) {
62 while (list($k, $v) = each($aclp)) {
69 if (is_array($acln)) {
71 while (list($k, $v) = each($acln)) {
78 $action->parent->session->closeAll();
79 $action->parent->session->set(
"");
80 if ($returnact ==
"")
exit(0);
81 redirect(
$action,
"ACCESS", $returnact .
"&uid=" . $userId);
100 if ((
$err = $p->ControlOid($appId,
"modifyacl")) !=
"") {
112 if (is_array($aclp)) {
114 while (list($k, $v) = each($aclp)) {
119 if (is_array($acln)) {
121 while (list($k, $v) = each($acln)) {
128 if ($returnact ==
"")
exit(0);
129 redirect(
$action,
"ACCESS", $returnact);