AccessDenied
You are not allowed to rename this page!
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the
order they occurred.
/home/user/workspace/moin-1.8/MoinMoin/request/__init__.py
in run
(self=<MoinMoin.request.request_standalone.Request object at 0x1197790>)
- 1305 self.page.send_page()
- 1306 else:
- 1307 handler(self.page.page_name, self)
- 1308
- 1309 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler
= <function execute at 0x1192c80>
- self
= <MoinMoin.request.request_standalone.Request object at 0x1197790>
- self.page
= <MoinMoin.Page.Page object at 0x1197850>
- self.page.page_name
= u'WikiTipOfTheDa'
/home/user/workspace/moin-1.8/MoinMoin/action/RenamePage.py
in execute
(pagename=u'WikiTipOfTheDa', request=<MoinMoin.request.request_standalone.Request object at 0x1197790>)
- 162
- 163 def execute(pagename, request):
- 164 """ Glue code for actions """
- 165 RenamePage(pagename, request).render()
- 166
- global
RenamePage
= <class MoinMoin.action.RenamePage.RenamePage at 0x118f710>
- pagename
= u'WikiTipOfTheDa'
- request
= <MoinMoin.request.request_standalone.Request object at 0x1197790>
- ).render undefined
/home/user/workspace/moin-1.8/MoinMoin/action/__init__.py
in render
(self=<MoinMoin.action.RenamePage.RenamePage instance at 0x1012950>)
- 202 elif self.form_trigger in form: # user hit the trigger button
- 203 if self.ticket_ok():
- 204 success, self.error = self.do_action()
- 205 else:
- 206 success = False
- success undefined
- self
= <MoinMoin.action.RenamePage.RenamePage instance at 0x1012950>
- self.error
= ''
- self.do_action
= <bound method RenamePage.do_action of <MoinMoin.action.RenamePage.RenamePage instance at 0x1012950>>
/home/user/workspace/moin-1.8/MoinMoin/action/RenamePage.py
in do_action
(self=<MoinMoin.action.RenamePage.RenamePage instance at 0x1012950>)
- 52
- 53 self.page = PageEditor(self.request, self.pagename)
- 54 success, msgs = self.page.renamePage(newpagename, comment)
- 55
- 56 rename_subpages = 0
- success undefined
- msgs undefined
- self
= <MoinMoin.action.RenamePage.RenamePage instance at 0x1012950>
- self.page
= <MoinMoin.PageEditor.PageEditor object at 0x1197810>
- self.page.renamePage
= <bound method PageEditor.renamePage of <MoinMoin.PageEditor.PageEditor object at 0x1197810>>
- newpagename
= u'WikiTipOfTheDay'
- comment
= u''
/home/user/workspace/moin-1.8/MoinMoin/PageEditor.py
in renamePage
(self=<MoinMoin.PageEditor.PageEditor object at 0x1197810>, newpagename=u'WikiTipOfTheDay', comment=u'')
- 589 and request.user.may.write(newpagename)):
- 590 msg = _('You are not allowed to rename this page!')
- 591 raise self.AccessDenied, msg
- 592
- 593 if not newpagename:
- self
= <MoinMoin.PageEditor.PageEditor object at 0x1197810>
- self.AccessDenied
= <class 'MoinMoin.PageEditor.AccessDenied'>
- msg
= 'You are not allowed to rename this page!'
AccessDenied
You are not allowed to rename this page!
- args = ()
- message = 'You are not allowed to rename this page!'
System Details
- Date: Sat, 26 Jul 2008 08:14:41 +0000
- Platform: Linux desktop 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64
- Python: Python 2.5.1 (/usr/bin/python)
- MoinMoin: Release 1.8.0 (alpha)