Changeset 7067 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 08/20/12 11:05:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r7016 r7067 2159 2159 $acl = $this->getacltouser($folder, isset($params['decoded'])); 2160 2160 /* 2161 * l - lookup (mailbox is visible to LIST/LSUB commands) 2162 * r - read (SELECT the mailbox, perform CHECK, FETCH, PARTIAL, SEARCH, COPY from mailbox) 2163 * s - keep seen/unseen information across sessions (STORE SEEN flag) 2164 * w - write (STORE flags other than SEEN and DELETED) 2165 * i - insert (perform APPEND, COPY into mailbox) 2166 * p - post (send mail to submission address for mailbox, not enforced by IMAP4 itself) 2167 * c - create (CREATE new sub-mailboxes in any implementation-defined hierarchy) 2168 * d - delete (STORE DELETED flag, perform EXPUNGE) 2169 * a - administer (perform SETACL) 2161 * l - lookup - Mailbox is visible in mailbox list. Mailbox can be subscribed to. 2162 * r - read - Mailbox can be opened for reading. 2163 * w - write - Message flags and keywords can be changed, except \Seen and \Deleted 2164 * s - write-seen - \Seen flag can be changed 2165 * t - write-deleted - \Deleted flag can be changed 2166 * i - insert - Messages can be written or copied to the mailbox 2167 * p - post - Messages can be posted to the mailbox by LDA, e.g. from Sieve scripts 2168 * e - expunge - Messages can be expunged 2169 * k - create - Mailboxes can be created (or renamed) directly under this mailbox (but not necessarily under its children, see ACL Inheritance section above) (renaming also requires delete rights) 2170 * x - delete - Mailbox can be deleted 2171 * a - admin - Administration rights to the mailbox (currently: ability to change ACLs for mailbox) 2170 2172 */ 2171 if (strpos($acl, " d") === false){2173 if (strpos($acl, "x") === false || strpos($acl, "t") === false || strpos($acl, "e") === false){ 2172 2174 $return['status'] = false; 2173 2175 } … … 2176 2178 return $return; 2177 2179 } 2178 2179 2180 2180 2181 function refresh($params) … … 3474 3475 $acl = $this->getacltouser($folder, isset($params['decoded'])); 3475 3476 /* 3476 * l - lookup (mailbox is visible to LIST/LSUB commands) 3477 * r - read (SELECT the mailbox, perform CHECK, FETCH, PARTIAL, SEARCH, COPY from mailbox) 3478 * s - keep seen/unseen information across sessions (STORE SEEN flag) 3479 * w - write (STORE flags other than SEEN and DELETED) 3480 * i - insert (perform APPEND, COPY into mailbox) 3481 * p - post (send mail to submission address for mailbox, not enforced by IMAP4 itself) 3482 * c - create (CREATE new sub-mailboxes in any implementation-defined hierarchy) 3483 * d - delete (STORE DELETED flag, perform EXPUNGE) 3484 * a - administer (perform SETACL) 3477 * l - lookup - Mailbox is visible in mailbox list. Mailbox can be subscribed to. 3478 * r - read - Mailbox can be opened for reading. 3479 * w - write - Message flags and keywords can be changed, except \Seen and \Deleted 3480 * s - write-seen - \Seen flag can be changed 3481 * t - write-deleted - \Deleted flag can be changed 3482 * i - insert - Messages can be written or copied to the mailbox 3483 * p - post - Messages can be posted to the mailbox by LDA, e.g. from Sieve scripts 3484 * e - expunge - Messages can be expunged 3485 * k - create - Mailboxes can be created (or renamed) directly under this mailbox (but not necessarily under its children, see ACL Inheritance section above) (renaming also requires delete rights) 3486 * x - delete - Mailbox can be deleted 3487 * a - admin - Administration rights to the mailbox (currently: ability to change ACLs for mailbox) 3485 3488 */ 3486 if (strpos($acl, " d") === false){3489 if (strpos($acl, "x") === false || strpos($acl, "t") === false || strpos($acl, "e") === false){ 3487 3490 $return['status'] = false; 3488 3491 return $return;
Note: See TracChangeset
for help on using the changeset viewer.