Changeset 539


Ignore:
Timestamp:
08/09/11 11:39:55 (10 years ago)
Author:
bas
Message:

fixed check permission problem when PrivateTicketsPlugin? is installed, closes #262

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r536 r539  
    4646    Author: hju add jochenkuhl dot de
    4747    Applied by: Bas van der Vlies
     48
     49  * Process all workflows not only the default trac workflow,
     50    eg: AdvancedTicketWorkflowPlugin, closes #226
     51    Reported by: Frédéric DUARTE <f dot duarte add akka dot eu>
     52    Fixed by: Bas van der Vlies
     53
     54  * permission check fails when PrivateTicketsPlugin is installed, closes #262
     55    Reported by: glenn
     56    Fixed by: Bas van der Vlies
    4857
    49582.1.0 (2011-6-6)
  • trunk/debian/changelog

    r536 r539  
     1email2trac (2.1.7) stable; urgency=low
     2
     3  * see Changelog
     4
     5 -- Bas van der Vlies <basv@sara.nl>  Tue, 09 Aug 2011 11:38:09 +0200
     6
    17email2trac (2.1.6) stable; urgency=low
    28
  • trunk/email2trac.py.in

    r538 r539  
    693693        if self.parameters.ticket_permission_system in ['trac']:
    694694
    695             perm = PermissionSystem(self.env)
    696             if perm.check_permission(action, self.author):
     695            perm = PermissionCache(self.env, self.author)
     696            if perm.has_permission(action):
    697697                return True
    698698            else:
     
    24572457            from trac.core import TracError
    24582458            from trac.perm import PermissionSystem
     2459            from trac.perm import PermissionCache
    24592460            from trac.ticket.web_ui import TicketModule
    24602461            from trac.ticket.api import TicketSystem
     
    24762477            from trac.core import TracError
    24772478            from trac.perm import PermissionSystem
     2479            from trac.perm import PermissionCache
    24782480            from trac.ticket.web_ui import TicketModule
    24792481            from trac.ticket.api import TicketSystem
Note: See TracChangeset for help on using the changeset viewer.