View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0001703 | v3.5 Release (Development) | [All Projects] General | public | 2016-07-05 09:43 | 2019-01-01 16:15 | ||||||||
Reporter | opto | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
Status | new | Resolution | open | ||||||||||
Summary | 0001703: Task permissions: canAccess not working | ||||||||||||
Description | project worker: access etc for all non admin modules. Then deny access and all else for one task.Use this code to check fotr access, taken from elsewhere in code base: $obj = new CTask(); $obj->load($rowData['task_id']); $canAccess = $obj->canAccess(); The task cannot be loaded, task_name and other fields is NULL - just as it should be. But $canAccess is true fortunately, canView() works workaround: check if ($obj->task_name == NULL) instead if if ($canAccess) | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-07-05 09:43 | opto | New Issue | |
2016-07-05 12:20 | opto | Description Updated | View Revisions |
2016-12-26 23:34 | caseydk | Project | v3.3 Release => v3.4 Release (Current) |
2019-01-01 16:15 | caseydk | Project | v3.4 Release (Current) => v3.5 Release (Development) |
2019-01-01 16:15 | caseydk | Category | User Admin => General |