Changeset 345 for trunk/admin/cat_perm.php
- Timestamp:
- Feb 2, 2004, 1:55:18 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_perm.php
r226 r345 84 84 check_favorites( $row['id'] ); 85 85 } 86 // resynchronize all users 87 synchronize_all_users(); 86 88 } 87 89 //---------------------------------------------------------------------- groups … … 150 152 // for color of user : (red means access forbidden, green authorized) we 151 153 // ask all forbidden categories, including the groups rights 152 $restrictions = get_ restrictions( $row['id'], $row['status'], false );154 $restrictions = get_user_restrictions( $row['id'], $row['status'], false ); 153 155 $is_user_allowed = is_user_allowed( $page['cat'], $restrictions ); 154 156 if ( $is_user_allowed == 0 ) … … 162 164 // for permission update button, we only ask forbidden categories for the 163 165 // user, not taking into account the groups the user belongs to 164 $restrictions = get_ restrictions( $row['id'], $row['status'], false, false);166 $restrictions = get_user_restrictions($row['id'],$row['status'],false,false); 165 167 $is_user_allowed = is_user_allowed( $page['cat'], $restrictions ); 166 168 if ( $is_user_allowed == 2 )
Note: See TracChangeset
for help on using the changeset viewer.