Changeset 9569
- Timestamp:
- Dec 3, 2010, 11:01:56 PM (14 years ago)
- Location:
- trachoursplugin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trachoursplugin
-
Property
svn:ignore
set to
.project
.pydevproject
-
Property
svn:ignore
set to
-
trachoursplugin/0.11
-
Property
svn:ignore
set to
*.egg-info
-
Property
svn:ignore
set to
-
trachoursplugin/0.11/trachours/ticket.py
r7113 r9569 41 41 """add hours through comments""" 42 42 43 # only allow allowed users to add hours via comments 44 user = req.authname 45 can_add_hours = PermissionSystem(self.env).check_permission('TICKET_ADD_HOURS', user) 46 if not can_add_hours: 43 if not req.perm.has_permission('TICKET_ADD_HOURS'): 47 44 return [] 48 45 -
trachoursplugin/0.12
-
Property
svn:ignore
set to
*.egg-info
-
Property
svn:ignore
set to
-
trachoursplugin/0.12/trachours/ticket.py
r7113 r9569 41 41 """add hours through comments""" 42 42 43 # only allow allowed users to add hours via comments 44 user = req.authname 45 can_add_hours = PermissionSystem(self.env).check_permission('TICKET_ADD_HOURS', user) 46 if not can_add_hours: 43 if not req.perm.has_permission('TICKET_ADD_HOURS'): 47 44 return [] 48 45
Note: See TracChangeset
for help on using the changeset viewer.