Modify ↓
#7290 closed defect (fixed)
Plugin should check MYPAGE_VIEW also in process_request
| Reported by: | Mitar | Owned by: | dgc |
|---|---|---|---|
| Priority: | normal | Component: | TracMyPagePlugin |
| Severity: | normal | Keywords: | |
| Cc: | Mitar | Trac Release: | 0.11 |
Description
Plugin should check MYPAGE_VIEW also in process_request. Here is my patch:
--- MyPagePlugin.py.orig 2010-06-24 16:48:29.000000000 +0200
+++ MyPagePlugin.py 2010-06-24 16:49:35.000000000 +0200
@@ -34,6 +34,8 @@
return False
def process_request(self, req):
+ req.perm.require('MYPAGE_VIEW')
+
url = self.mypage_url(req)
self.log.debug('process_request: %s' % url)
if req.path_info == '/me':
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 Changed 15 years ago by
Note: See
TracTickets for help on using
tickets.



[9517]