Changeset 1087 for trunk/common
- Timestamp:
- 12/22/09 18:54:31 (2 years ago)
- File:
-
- 1 edited
-
trunk/common/security.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/common/security.php
r1053 r1087 170 170 case 'job-view-score': 171 171 case 'job-view-partial-feedback': 172 case 'task-view-tags': 172 173 return $action; 173 174 … … 393 394 return $is_owner || $is_admin; 394 395 396 // View tags 397 case 'task-view-tags': 398 $in_archive = false; 399 $rounds = task_get_submit_rounds($task['id'], $user['id']); 400 foreach ($rounds as $round_id) { 401 if ($round_id == 'arhiva' || $round_id == 'arhiva-educationala') { 402 $in_archive = true; 403 } 404 } 405 return $in_archive || $is_owner || $is_admin; 406 395 407 // Admin stuff: 396 408 case 'simple-critical':
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)