|
@@ 1485-1489 (lines=5) @@
|
| 1482 |
|
else //User is not admin |
| 1483 |
|
{ |
| 1484 |
|
//Check group permissions |
| 1485 |
|
if($upG->num_rows() > 0) |
| 1486 |
|
{ |
| 1487 |
|
$upG_row = $upG->row_array(); |
| 1488 |
|
$result_array['user_perms'] = $upG_row['permissions']; |
| 1489 |
|
} |
| 1490 |
|
|
| 1491 |
|
//Check individual user permissions |
| 1492 |
|
if($upU->num_rows() > 0) |
|
@@ 1492-1496 (lines=5) @@
|
| 1489 |
|
} |
| 1490 |
|
|
| 1491 |
|
//Check individual user permissions |
| 1492 |
|
if($upU->num_rows() > 0) |
| 1493 |
|
{ |
| 1494 |
|
$up_row = $upU->row_array(); |
| 1495 |
|
$result_array['user_perms'] = $up_row['permissions']; |
| 1496 |
|
} |
| 1497 |
|
|
| 1498 |
|
//Determine whether the current user can view and/or edit this task |
| 1499 |
|
if($result_array['user_perms'] == PERM_NO_ACCESS) |