Anonymous Login
2019-11-14 16:02 PST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001703v3.5 Release (Development)[All Projects] Generalpublic2019-01-01 16:15
Reporteropto 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
Summary0001703: Task permissions: canAccess not working
Descriptionproject 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)
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
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
+Issue History