Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1991 closed task (invalid)

anonymous gets error without WIKI_VIEW privilege

Reported by: Markus Tacker <m@…> 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 Markus Tacker <m@…>, 19 years ago

Summary: anonymous cannot login without WIKI_VIEW privilegeanonymous gets error without WIKI_VIEW privilege

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

comment:2 by Markus Tacker <m@…>, 19 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

comment:3 by Markus Tacker <m@…>, 19 years ago

Resolution: invalid
Status: newclosed

The error no longer appears.

comment:4 by Christian Boos, 19 years ago

Yep, that was fixed in r2164

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.