Ignore:
Timestamp:
Feb 2, 2004, 1:55:18 AM (20 years ago)
Author:
gweltas
Message:

Merge of the 1.3.1 release
Creation of an unique include file (common.php)
Creation of an unique define file (include/constants.php)
Modification of the installation procedure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_perm.php

    r226 r345  
    8484    check_favorites( $row['id'] );
    8585  }
     86  // resynchronize all users
     87  synchronize_all_users();
    8688}
    8789//---------------------------------------------------------------------- groups
     
    150152  // for color of user : (red means access forbidden, green authorized) we
    151153  // 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 );
    153155  $is_user_allowed = is_user_allowed( $page['cat'], $restrictions );
    154156  if ( $is_user_allowed == 0 )
     
    162164  // for permission update button, we only ask forbidden categories for the
    163165  // 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);
    165167  $is_user_allowed = is_user_allowed( $page['cat'], $restrictions );
    166168  if ( $is_user_allowed == 2 )
Note: See TracChangeset for help on using the changeset viewer.