forked from extern/egroupware
Comment out the acl deletion prior to add - should change be the method?
This commit is contained in:
parent
9aefe9a58b
commit
afc4f671c9
@ -115,7 +115,7 @@
|
|||||||
$acl->db = $phpgw_setup->db;
|
$acl->db = $phpgw_setup->db;
|
||||||
$acl->read_repository();
|
$acl->read_repository();
|
||||||
while ($app = each($s_apps)) {
|
while ($app = each($s_apps)) {
|
||||||
$acl->delete($app[1],'run',1);
|
//$acl->delete($app[1],'run',1);
|
||||||
$acl->add($app[1],'run',1);
|
$acl->add($app[1],'run',1);
|
||||||
}
|
}
|
||||||
$acl->save_repository();
|
$acl->save_repository();
|
||||||
@ -155,7 +155,7 @@
|
|||||||
// as a group member.
|
// as a group member.
|
||||||
for ($a=0;$a<count($admins);$a++) {
|
for ($a=0;$a<count($admins);$a++) {
|
||||||
if ($admins[$a] == $account[1]['account_id']) {
|
if ($admins[$a] == $account[1]['account_id']) {
|
||||||
$acl->delete('admin','run',1);
|
//$acl->delete('admin','run',1);
|
||||||
$acl->add('admin','run',1);
|
$acl->add('admin','run',1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user