Ignore:
Timestamp:
08/17/12 14:27:01 (12 years ago)
Author:
eduardow
Message:

Ticket #3025 - Correção para exibição correta de mensagem ao remover.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/inc/class.imap_functions.inc.php

    r7024 r7050  
    21442144                                         
    21452145                $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             
    21462166                return $return; 
    21472167        } 
Note: See TracChangeset for help on using the changeset viewer.