mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-12 19:14:10 +01:00
Fix mail acl can not deal with digital account id to make the owner rules readonly
This commit is contained in:
parent
77f9e084cf
commit
cf5dc289f9
@ -203,7 +203,8 @@ class mail_acl
|
||||
//Make the account owner's fields all readonly as owner has all rights and should not be able to change them
|
||||
foreach($content['grid'] as $key => $fields)
|
||||
{
|
||||
if (self::_extract_acc_id($fields['acc_id']) == $this->imap->acc_imap_username)
|
||||
if (self::_extract_acc_id($fields['acc_id']) == $this->imap->acc_imap_username ||
|
||||
$this->imap->getMailBoxUserName(self::_extract_acc_id($fields['acc_id'])) == $this->imap->acc_imap_username)
|
||||
{
|
||||
foreach (array_keys($fields) as $index)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user