File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,44 @@ The [[setting,acl_groups]] setting can be dynamically set via
5656To enable the IMAP ACL commands, you must load the [[ plugin,imap_acl]] . This
5757plugin should only be loaded inside a ` protocol imap {} ` block.
5858
59+ ## Named ACL lists
60+
61+ You can use the [[ link,settings_groups_includes]] to create named ACL lists.
62+
63+ ``` [dovecot.conf]
64+ group @acl_defaults team-a {
65+ acl team-a-can-read {
66+ id=group=team-a
67+ rights=lr
68+ }
69+ acl admin-can-admin {
70+ id=user=admin
71+ rights=lrwstipekxa
72+ }
73+ }
74+
75+ group @acl_defaults team-b {
76+ acl team-b-can-read {
77+ id=group=team-b
78+ rights=lr
79+ }
80+ acl admin-can-admin {
81+ id=user=admin
82+ rights=lrwstipekxa
83+ }
84+ }
85+
86+
87+ namespace public {
88+ mailbox team_a/* {
89+ @acl_defaults=team-a
90+ }
91+ mailbox team_b/* {
92+ @acl_defaults=team-b
93+ }
94+ }
95+ ```
96+
5997### Sample Configuration
6098
6199``` [dovecot.conf]
You can’t perform that action at this time.
0 commit comments