Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#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


Plugin should check MYPAGE_VIEW also in process_request. Here is my patch:

---	2010-06-24 16:48:29.000000000 +0200
+++	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 8 years ago by dgc

Resolution: fixed
Status: newclosed

comment:2 Changed 7 years ago by Ryan J Ollos

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain dgc.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.