MantisBT - v3.5 Release (Development)
View Issue Details
0001703v3.5 Release (Development)[All Projects] Generalpublic2016-07-05 09:432019-01-01 16:15
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
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();
        $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

There are no notes attached to this issue.

Issue History
2016-07-05 09:43optoNew Issue
2016-07-05 12:20optoDescription Updatedbug_revision_view_page.php?rev_id=154#r154
2016-12-26 23:34caseydkProjectv3.3 Release => v3.4 Release (Current)
2019-01-01 16:15caseydkProjectv3.4 Release (Current) => v3.5 Release (Development)
2019-01-01 16:15caseydkCategoryUser Admin => General