Changeset 3184
- Timestamp:
- 02/06/08 03:53:19 (1 year ago)
- Files:
-
- restrictedareaplugin/0.10/restrictedarea/filter.py (modified) (1 diff)
- restrictedareaplugin/0.10/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
restrictedareaplugin/0.10/restrictedarea/filter.py
r1928 r3184 27 27 # at least in Trac 0.10.2 req.perm seems to be always None ... 28 28 raise TracError("To use the RestrictedAreaPlugin you need at least Trac 0.10.3.") 29 if req.path_info.startswith(path) and not req.perm.has_permission(self.__action_name):29 if (req.path_info == path or req.path_info.startswith(path + '/')) and not req.perm.has_permission(self.__action_name): 30 30 raise HTTPForbidden(to_unicode(PermissionError(self.__action_name))) 31 31 return handler restrictedareaplugin/0.10/setup.py
r1924 r3184 6 6 setup( 7 7 name = 'TracRestrictedArea', 8 version = '1.0. 0',8 version = '1.0.1', 9 9 packages = ['restrictedarea'], 10 10
