Changeset 1908


Ignore:
Timestamp:
12/29/09 10:41:16 (14 years ago)
Author:
amuller
Message:

Ticket #597 - Correçao de bug quando o usuario tem acesso ao FM por grupo somente

Location:
sandbox/filemanager/inc
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/inc/class.uifilemanager.inc.php

    r1906 r1908  
    587587                                $this->groups_applications[$value['account_name']] = $applications->read_account_specific(); 
    588588                        } 
    589                         $_SESSION['debug']['groups_applications'] = $this->groups_applications; 
    590589 
    591590                        // selectbox for change/move/and copy to 
     
    12011200 
    12021201                        # Then we get the directories in their readable groups' home directories 
    1203                         $_SESSION['debug']['readable'] = $this->readable_groups; 
    12041202                        reset($this->readable_groups); 
    12051203                        while(list($num, $group_array) = each($this->readable_groups)) 
    12061204                        { 
    12071205                                // Don't list directories for groups that don't have access 
    1208                                 if(!$this->groups_applications[$group_array['account_name']][$this->bo->appname]['enabled']) 
     1206                                if(     $GLOBALS['phpgw']->accounts->get_type($group_array['account_id']) == 'g' && 
     1207                                        !$this->groups_applications[$group_array['account_name']][$this->bo->appname]['enabled'] 
     1208                                ) 
    12091209                                { 
    12101210                                        continue; 
Note: See TracChangeset for help on using the changeset viewer.