Skip to content

Instantly share code, notes, and snippets.

View batkinson's full-sized avatar

Brent Atkinson batkinson

  • Garmin International
  • Portland, Maine, USA
View GitHub Profile
@batkinson
batkinson / gist:1394344
Created November 25, 2011 20:20
Patch for trac-backlog #5
diff -urN trac-backlog-0.2.2/backlog/prefs.py trac-backlog-0.2.2-fc/backlog/prefs.py
--- trac-backlog-0.2.2/backlog/prefs.py 1970-01-01 00:00:00.000000000 +0000
+++ trac-backlog-0.2.2-fc/backlog/prefs.py 2011-11-25 20:06:12.591248563 +0000
@@ -0,0 +1,47 @@
+# Copyright (C) 2009 John Szakmeister
+# All rights reserved.
+#
+# This software is licensed as described in the file LICENSE.txt, which
+# you should have received as part of this distribution.
+
diff -urN trac-backlog-0.2.2/backlog/web_ui.py trac-backlog-0.2.2-readonly-without-perms/backlog/web_ui.py
--- trac-backlog-0.2.2/backlog/web_ui.py 2011-10-10 13:09:39.000000000 +0000
+++ trac-backlog-0.2.2-readonly-without-perms/backlog/web_ui.py 2011-10-13 07:54:37.261926597 +0000
@@ -10,6 +10,7 @@
from trac.core import *
from trac.db import DatabaseManager
from trac.env import IEnvironmentSetupParticipant
+from trac.perm import IPermissionRequestor
from trac.ticket.api import ITicketChangeListener
from trac.ticket.model import Ticket