- Timestamp:
- 08/17/12 14:27:01 (12 years ago)
- Location:
- branches/2.4/expressoMail1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/inc/class.imap_functions.inc.php
r7024 r7050 2144 2144 2145 2145 $return['status'] = true; 2146 2147 //Este bloco tem a finalidade de averiguar as permissoes para pastas compartilhadas 2148 if (substr($folder,0,4) == 'user'){ 2149 $acl = $this->getacltouser($folder, isset($params['decoded'])); 2150 /* 2151 * l - lookup (mailbox is visible to LIST/LSUB commands) 2152 * r - read (SELECT the mailbox, perform CHECK, FETCH, PARTIAL, SEARCH, COPY from mailbox) 2153 * s - keep seen/unseen information across sessions (STORE SEEN flag) 2154 * w - write (STORE flags other than SEEN and DELETED) 2155 * i - insert (perform APPEND, COPY into mailbox) 2156 * p - post (send mail to submission address for mailbox, not enforced by IMAP4 itself) 2157 * c - create (CREATE new sub-mailboxes in any implementation-defined hierarchy) 2158 * d - delete (STORE DELETED flag, perform EXPUNGE) 2159 * a - administer (perform SETACL) 2160 */ 2161 if (strpos($acl, "d") === false){ 2162 $return['status'] = false; 2163 } 2164 } 2165 2146 2166 return $return; 2147 2167 } -
branches/2.4/expressoMail1_2/js/main.js
r7035 r7050 835 835 } 836 836 837 if (show_success_msg) { 838 if (data.msgs_number.length == 1) 839 write_msg(get_lang("The message was deleted.")); 840 else 841 write_msg(get_lang("The messages were deleted.")); 837 if (show_success_msg){ 838 if(data.status == false){ 839 write_msg(get_lang("You don't have permission for this operation in this shared folder!")); 840 return false; 841 } 842 else{ 843 if (data.msgs_number.length == 1) 844 write_msg(get_lang("The message was deleted.")); 845 else 846 write_msg(get_lang("The messages were deleted.")); 847 } 842 848 } 843 849 if (openTab.type[currentTab] > 1){
Note: See TracChangeset
for help on using the changeset viewer.