Edgewall Software

Changes between Initial Version and Version 45 of Ticket #4245


Ignore:
Timestamp:
Apr 22, 2018, 11:03:51 PM (6 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4245

    • Property Severity normalmajor
    • Property Cc zach@… leho@… ismael@… mmitar@… osimons peter@… verm@… dsd@… Ryan J Ollos added
    • Property Priority normalhigh
    • Property Keywords patch performance restrict_owner get_users_with_permission added
    • Property Milestonenext-stable-1.2.x
    • Property Owner Jonas Borgström removed
  • Ticket #4245 – Description

    initial v45  
    1 TicketSystem.get_ticket_fields() implements an exremely inefficient algorithm to find users that have a certain permission (O(n^2^,,users,, * perms_per_user,,avg,,)). I have added a more efficient function to PermissionSystem that enables querying users having a specified permission directly. It correctly resolves group memberships and hierarchical  permissions.
     1`TicketSystem.get_ticket_fields()` implements an extremely inefficient algorithm to find users that have a certain permission (O(n^2^,,users,, * perms_per_user,,avg,,)). I have added a more efficient function to `PermissionSystem` that enables querying users having a specified permission directly. It correctly resolves group memberships and hierarchical  permissions.