andrewblake1 / WorksManagement

Project/Works management system for Northpower's Westcoast Energy
0 stars 3 forks source link

TaskToPlant Read and TaskToLabourResource Read privilege not working #378

Closed hawea closed 11 years ago

hawea commented 11 years ago

Hi Andrew,

To recreate the bug, please do the following:

  1. Login as mariusdejager@westcoastenergy.com.au p/w: password
  2. Click on this link: http://dev.melbourne.wcewm.co.nz/Task/View/12?project_id=7
  3. As you can see, there is no Plant or Labour tab against the task.
  4. The list of privileges against the Leading Hand role are at this link: http://dev.melbourne.wcewm.co.nz/AuthItemChild/admin?parent=Leading+Hand
andrewblake1 commented 11 years ago

@hawea please confirm that operation is actually correct but highlights our need for the help system and documentation - even for ourselves

remember when you got me to hide tabs if read only access and no items? That logic is applied globally hence the reason here is not to do with privileges but is actually operating correctly. There was a bug though in the admin view of task_to_plant and task to resource which made it look like there was plant and resources when there wasn't really for this task - when viewed with write rights.

please close