Modify

Opened 9 years ago

Closed 9 years ago

#2876 closed defect (fixed)

policy.py for 0.11 has an incomplete import line

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: highest Component: PrivateTicketsPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

after install it throws a IPermissionPolicy is not defined message

file http://trac-hacks.org/svn/privateticketsplugin/0.11/privatetickets/policy.py

suggestion -from trac.perm import IPermissionRequestor, IPermissionPolicy +from trac.perm import IPermissionRequestor, IPermissionGroupProvider,IPermissionPolicy,PermissionSystem

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by benbruscella

Thanks, this worked for me:

-from trac.perm import IPermissionRequestor, IPermissionPolicy 
+from trac.perm import IPermissionRequestor, IPermissionGroupProvider, IPermissionPolicy, PermissionSystem

comment:2 in reply to:  1 Changed 9 years ago by anonymous

Replying to benbruscella:

Thanks, this worked for me:

-from trac.perm import IPermissionRequestor, IPermissionPolicy 
+from trac.perm import IPermissionRequestor, IPermissionGroupProvider, IPermissionPolicy, PermissionSystem

This also worked for me. Thanks.

comment:3 Changed 9 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

Fixed a while ago.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.