Debian Codegraph @

doc/html/_sources/imap/reference/admin/access-control/defaults.rst.txt

raw
1 .. _imap-admin-access-control-defaults:
2
3 Access Control Defaults
4 =======================
5
6 Administrators
7 --------------
8
9 Regardless of the ACL on a mailbox, users who are listed in the
10 ``admins`` configuration option in :cyrusman:`imapd.conf(5)` implicitly
11 have the ``l`` and ``a`` rights on all mailboxes.
12
13 Administrators can also see across domains which normal users cannot.
14
15 .. warning::
16
17 An admin user should not be a normal email account.
18
19 Mailbox owners
20 --------------
21
22 The user who owns a mailbox folder has additional rights which are set
23 regardless of any additional ACLs. These are:
24
25 * **l** - :ref:`lookup <imap-admin-access-control-right-l>`
26 * **k** - :ref:`create subfolders <imap-admin-access-control-right-k>`
27 * **x** - :ref:`delete this folder <imap-admin-access-control-right-x>`
28 * **a** - :ref:`administer <imap-admin-access-control-right-a>`
29
30 These are set in ``implicit_owner_rights`` of :cyrusman:`imapd.conf(5)`.
31
32 Default
33 -------
34
35 For all other mailboxes not owned by a user, any user accessing these
36 mailboxes have the following default privileges:
37
38 * **l** - :ref:`lookup <imap-admin-access-control-right-l>`
39 * **r** - :ref:`read contents <imap-admin-access-control-right-r>`
40 * **s** - :ref:`seen <imap-admin-access-control-right-s>`
41
42 These are set in ``defaultacl`` of :cyrusman:`imapd.conf(5)`.
43
44 Initial ACLs for Newly Created Mailboxes
45 ----------------------------------------
46
47 When a mailbox is created, its ACL starts off with a copy of the ACL of its closest parent mailbox. When a user is created, the ACL on the user's ``INBOX`` starts off with a single entry granting all rights to the user. When a non-user mailbox is created and does not have a parent, its ACL is initialized to the value of the ``defaultacl`` option in :cyrusman:`imapd.conf(5)`.
48
49 Other Implicit Rights
50 ---------------------
51
52 Note that some rights are available implicitly, for example 'anonymous'
53 always has 'p' on user INBOXes, and users always have ``la`` rights on
54 mailboxes within their INBOX hierarchy.