Changeset 332
- Timestamp:
- Jan 30, 2004, 11:47:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/admin/cat_perm.php
r256 r332 152 152 // for color of user : (red means access forbidden, green authorized) we 153 153 // ask all forbidden categories, including the groups rights 154 $restrictions = get_ restrictions( $row['id'], $row['status'], false );154 $restrictions = get_user_restrictions( $row['id'], $row['status'], false ); 155 155 $is_user_allowed = is_user_allowed( $page['cat'], $restrictions ); 156 156 if ( $is_user_allowed == 0 ) … … 164 164 // for permission update button, we only ask forbidden categories for the 165 165 // user, not taking into account the groups the user belongs to 166 $restrictions = get_ restrictions( $row['id'], $row['status'], false, false);166 $restrictions = get_user_restrictions($row['id'],$row['status'],false,false); 167 167 $is_user_allowed = is_user_allowed( $page['cat'], $restrictions ); 168 168 if ( $is_user_allowed == 2 )
Note: See TracChangeset
for help on using the changeset viewer.