Edgewall Software

Changes between Version 2 and Version 3 of Ticket #8778, comment 8


Ignore:
Timestamp:
Mar 11, 2017, 10:32:55 PM (3 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8778, comment 8

    v2 v3  
    2222                  milestones = [m for m in milestones
    2323-                               if 'MILESTONE_VIEW' in req.perm(m.resource)]
    24 -                               if 'MILESTONE_VIEW' in req.perm(ticket.resource)
    2524+                               if 'TICKET_CHGPROP' in req.perm(m.resource)
    2625+                               and 'MILESTONE_VIEW' in req.perm(m.resource)]
    27 +                 field['editable'] = milestones != []
     26                  field['editable'] = milestones != []
    2827                  groups = group_milestones(milestones, ticket.exists
    2928                      and 'TICKET_ADMIN' in req.perm(ticket.resource))
     
    4847                  milestones = [m for m in milestones
    4948-                               if 'MILESTONE_VIEW' in req.perm(m.resource)]
    50 -                               if 'MILESTONE_VIEW' in req.perm(ticket.resource)
    5149+                               if 'MILESTONE_VIEW' in req.perm(ticket.resource)
    5250+                               and 'MILESTONE_VIEW' in req.perm(m.resource)]
    53 +                 field['editable'] = milestones != []
     51                  field['editable'] = milestones != []
    5452                  groups = group_milestones(milestones, ticket.exists
    5553                      and 'TICKET_ADMIN' in req.perm(ticket.resource))