summaryrefslogtreecommitdiffstats
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-04-15 10:37:41 +0200
committerAleksander Machniak <machniak@kolabsys.com>2014-04-15 10:37:41 +0200
commit932aac40676bfff20032145437f7c99819d82e4a (patch)
tree0b87e2e7b81a3f1f14fb83dd4e9f329e4f7ceacf /lib/kolab_client_task.php
parenta7f9d1f9a8a33c2e5d935f6cb711566627ad1e74 (diff)
downloadwebadmin-932aac40676bfff20032145437f7c99819d82e4a.tar.gz
Added IMAP ACL field widget (Request #1752)
TODO: user autocompletion, default rights, add acl field for shared folders
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 8d95fba..370ad64 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -897,6 +897,20 @@ class kolab_client_task
);
break;
+ case 'imap_acl':
+ $result['type'] = kolab_form::INPUT_TEXTAREA;
+ $result['data-type'] = 'acl';
+
+ $this->output->add_translation('aci.new', 'aci.edit', 'aci.remove',
+ 'button.ok', 'button.cancel',
+ 'acl.read', 'acl.write', 'acl.append', 'acl.post', 'acl.all', 'acl.custom',
+ 'acl.l', 'acl.r', 'acl.s', 'acl.w', 'acl.i', 'acl.p', 'acl.k', 'acl.a',
+ 'acl.x', 'acl.t', 'acl.n', 'acl.e', 'acl.d', 'acl.anyone', 'acl.anonymous',
+ 'acl.identifier', 'acl.rights', 'acl.expire', 'acl.user',
+ 'acl.error.invaliddate', 'acl.error.nouser', 'acl.error.subjectexists', 'acl.error.norights'
+ );
+ break;
+
default:
$result['type'] = kolab_form::INPUT_TEXT;