Opened 18 years ago
Closed 18 years ago
#3387 closed defect (fixed)
Permission error raised viewing new changesets
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | high | Milestone: | 0.10.1 |
Component: | version control/changeset view | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In r3521
Trac [/var/trac/xxx]> permission list User Action --------------------------------------------- customerUserA customer customer BROWSER_VIEW customer CHANGESET_VIEW customer FILE_VIEW customer LOG_VIEW customer REPORT_VIEW customer TICKET_APPEND customer TICKET_CREATE customer TICKET_VIEW customer WIKI_CREATE customer WIKI_MODIFY customer WIKI_VIEW
if the logged in customerUserA
views a changeset he gets a Insufficient permissions to access changeset
.
Attachments (3)
Change History (12)
comment:1 by , 18 years ago
by , 18 years ago
Attachment: | 2006-08-07_094705.png added |
---|
by , 18 years ago
Attachment: | 2006-08-07_094718.png added |
---|
by , 18 years ago
Attachment: | 2006-08-07_094744.png added |
---|
comment:3 by , 18 years ago
Today it happened again. This time I am logged in as TRC_ADMIN.
I go to a wiki page listing our releases. Note that the link to r1057 is greyed.
I clicked on resulting in "Forbidden".
Now I went to the timeline. From there I could access the revision.
I have the feeling that this happens only with the latest revision and only the first time it is accessed.
comment:4 by , 18 years ago
I ended in this issue too.
happends only one time, even when Im log as a TRAC_ADMIN, then I visit the wiki or some other page, return to the changeset, and the error message is gone.
Im running: trac 0.9.6 Python 2.4.3 mod_python-3.2.8 with apache 2.2.2 in FC5.
comment:5 by , 18 years ago
Milestone: | → 0.10.1 |
---|---|
Owner: | changed from | to
Summary: | CHANGESET_VIEW permission broken → Permission error raised viewing new changesets |
The error actually has nothing to do with the users' permissions. The error message is obviously confusing, but the real issue is that Trac is not resyncing with the repository before trying to display the changeset, so it's not available in the cache.
comment:6 by , 18 years ago
Status: | new → assigned |
---|
comment:7 by , 18 years ago
If I visit the "Browse Source" page and reload the Timeline page, the new rev is / accessable.
comment:8 by , 18 years ago
Priority: | normal → high |
---|
I cannot reproduce this with a fresh install. I set up a new install an gave anonymous only CHANGESET_VIEW, which works. It also works with an authenticated user there.
I tried removing all permissions and readding them to no avail.
Is there a way to debug this?