Modify ↓
#1991 closed task (invalid)
anonymous gets error without WIKI_VIEW privilege
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | general | Version: | devel |
| Severity: | major | Keywords: | |
| Cc: | m@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
This appeared yesterday. The anonymous user in this trac installation does only have
User Action ------------------------- anonymous TICKET_CREATE anonymous TICKET_VIEW
I think in general the start page should not be considered part of the wiki to enable the display of the links the user is allowed to seem at least the login link.
Attachments (0)
Change History (4)
comment:1 by , 20 years ago
| Summary: | anonymous cannot login without WIKI_VIEW privilege → anonymous gets error without WIKI_VIEW privilege |
|---|
comment:2 by , 20 years ago
The error is
Oops...
Trac detected an internal error:
WIKI_VIEW privileges required to perform this operation
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 205, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 142, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 116, in process_request
self._render_view(req, db, page)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 345, in _render_view
req.perm.assert_permission('WIKI_VIEW')
File "/usr/lib/python2.3/site-packages/trac/perm.py", line 283, in assert_permission
raise PermissionError(action)
PermissionError: WIKI_VIEW privileges required to perform this operation
Note:
See TracTickets
for help on using tickets.



Well, the subject is irritating. He actually can login if he adds /login to the url.