mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
"removed no changable ACL for addressbook, if contacts are in LDAP"
This commit is contained in:
parent
f03dce0a4d
commit
0376f3d48f
@ -36,16 +36,12 @@
|
|||||||
'addressbook' => True,
|
'addressbook' => True,
|
||||||
'todo' => True,
|
'todo' => True,
|
||||||
'calendar' => True,
|
'calendar' => True,
|
||||||
'notes' => True,
|
|
||||||
'projects' => True,
|
'projects' => True,
|
||||||
'phonelog' => True,
|
|
||||||
'infolog' => True,
|
'infolog' => True,
|
||||||
'filemanager' => True,
|
'filemanager' => True,
|
||||||
'tts' => True,
|
'tts' => True,
|
||||||
'bookmarks' => True,
|
'bookmarks' => True,
|
||||||
'img' => True,
|
'img' => True,
|
||||||
'netsaint' => True,
|
|
||||||
'inv' => True,
|
|
||||||
'phpbrain' => True,
|
'phpbrain' => True,
|
||||||
'projectmanager' => True,
|
'projectmanager' => True,
|
||||||
'timesheet' => True
|
'timesheet' => True
|
||||||
@ -61,6 +57,11 @@
|
|||||||
{
|
{
|
||||||
$_POST = $this->array_stripslashes($_POST);
|
$_POST = $this->array_stripslashes($_POST);
|
||||||
}
|
}
|
||||||
|
// remove ACL from addressbook, if contacts-backend is LDAP, as the ACL can not be modified there
|
||||||
|
if ($GLOBALS['egw_info']['server']['contact_repository'] == 'ldap')
|
||||||
|
{
|
||||||
|
unset($this->apps_with_acl['addressbook']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function row_action($action,$type,$account_id)
|
function row_action($action,$type,$account_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user