Missing trac admin tab

224 views
Skip to first unread message

mimi

unread,
Jan 15, 2013, 7:58:54 AM1/15/13
to trac-...@googlegroups.com
Hi,

I've just realised that after I log in to the trac the Admin tab is missing.

I've checked that I'm a member of the TRAC_ADMIN group.

Any suggestions?

I'm using trac 0.12.2 hosted on Win along with VisualSVN

M

Steffen Hoffmann

unread,
Jan 15, 2013, 2:31:14 PM1/15/13
to trac-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The fast path requires enabling DEBUG logging for the affected Trac
environment in the respective trac.ini. Afterwards look at the lines in
<env>/log/trac.log, that'll tell you more about each request, i.e. if
the session really has TRAC_ADMIN permission, or not so that you'll see
lines like this one:

"Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on
None"

Next would be to check, if the required component is enabled:

trac.admin.web_ui.* = enabled

I've encountered some weirdness with web-server modules interfering, but
hopefully we've no need to go into more details, because the above
already fix it for you.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlD1roAACgkQ31DJeiZFuHegHgCgwC10KFjMfeFHxpiBqf9k+q8h
kHcAoIYZ1vtGsfJnt6QoLx+NI0ZbNf+M
=5cBm
-----END PGP SIGNATURE-----

RjOllos

unread,
Jan 16, 2013, 2:17:34 AM1/16/13
to trac-...@googlegroups.com
I've also seen issues like this in the case that the auth store is case-sensitive, but authorization is not, due to:

[trac]
ignore_auth_case = false

False is the default value. If you authenticate as SomeUser, but grant the permission to someuser (or vice versa), you might have trouble.

That is just a guess though. Debugging, as hasienda suggested, is the way to go.

mimi

unread,
Jan 29, 2013, 6:50:01 AM1/29/13
to trac-...@googlegroups.com
RjOIIos

Many thanks.

That was it.

Cheers.

M.
Reply all
Reply to author
Forward
0 new messages