#1353 closed defect (fixed)
Basic auth on trac root result in anon permissions only
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Since I want my users to always login configured the basic authentication in the root trac location instead of having it for the tracroot/login page.
<Location /tracurl> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv "/path/to/tracenv" AuthType Basic AuthName "Trac" AuthUserFile tracpasswd Require valid-user </Location>
This results in the login dialog appearing when going to the trac site but after entering valid credentials I only get the anonymous permissions. To get authenticated permissions I have to go to the login url.
Attachments (0)
Change History (6)
comment:1 by , 20 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Priority: | normal → high |
Status: | new → assigned |
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 20 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 20 years ago
Hmm, it really should work. If you're using mod_python, have you restarted the server after updating?
comment:5 by , 20 years ago
restarted, reinstalled, etc. I link to a url like http://example.com/report/8 and it gives me what I assume are "anon" privs (which means no privs in this case).
comment:6 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
My bad. I was building my rpm from the wrong source.
Should be fixed in [1457].