#20 closed enhancement (fixed)
configure AccountManagerPlugin via web administration interface
| Reported by: | Matt Good | Owned by: | Matt Good |
|---|---|---|---|
| Priority: | normal | Component: | AccountManagerPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Gunnar Wagenknecht, charlie.clark@… | Trac Release: | 0.10 |
Description (last modified by )
The AccountManagerPlugin should implement the interfaces from the new web administration plugin to provide web-based configuration of the account module.
Attachments (2)
Change History (14)
comment:1 Changed 20 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 20 years ago by
| Status: | new → assigned |
|---|---|
| Summary: | configure AccountManagementPlugin via web administration interface → configure AccountManagerPlugin via web administration interface |
comment:3 Changed 20 years ago by
Changed 20 years ago by
| Attachment: | usermanagement.diff added |
|---|
Basic support for user management via webadmin
Changed 20 years ago by
| Attachment: | dbpasswordsource.diff added |
|---|
Patched for database user store and webadmin
comment:4 Changed 20 years ago by
| Cc: | charlie.clark@… added; anonymous removed |
|---|---|
| Resolution: | → invalid |
| Status: | assigned → closed |
| Trac Release: | → 0.9 |
I suppose that patch usermanagement.diff is obsolete. I tried to patch webadmin line by line using vim but afterwards trac (version 0.9.4) crash with:
Oops...
Trac detected an internal error:
No module named path
Traceback (most recent call last):
File "/trac/trac/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 130, in run
dispatch_request(req.path_info, req, env)
File "/trac/trac/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/trac/trac/lib/python2.4/site-packages/trac/web/main.py", line 83, in dispatch
req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
File "/trac/trac/lib/python2.4/site-packages/trac/web/chrome.py", line 195, in get_all_templates_dirs
dirs += provider.get_templates_dirs()
File "/trac/python/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r3112-py2.4.egg/webadmin/web_ui.py", line 132, in get_templates_dirs
from pkg_resources import resource_filename
File "/trac/python/lib/python2.4/site-packages/setuptools-0.6a11-py2.4.egg/pkg_resources.py", line 16, in ?
import sys, os, zipimport, time, re, imp, new
File "/usr/local/lib/python2.4/os.py", line 133, in ?
from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep,
ImportError: No module named path
I would be grateful for help because it's quite important.
Regards
comment:5 Changed 20 years ago by
| Resolution: | invalid |
|---|---|
| Status: | closed → reopened |
comment:6 follow-up: 7 Changed 19 years ago by
Replying to anonymous:
The AccountManagerPlugin should implement the interfaces from the new web administration plugin to provide web-based configuration of the account module.
Using Trac 0.9.5 the statements
roles = self.env.get_roles() status = self.env.get_status()
fail with error
'trac.env.Environment' object has no attribute 'get_roles' 'trac.env.Environment' object has no attribute 'get_status'
What can I do?
(merged the diff file manually)
comment:7 Changed 19 years ago by
Replying to mfeldheim@gmail.com:
Using Trac 0.9.5 the statements
roles = self.env.get_roles() status = self.env.get_status()
fail with error
'trac.env.Environment' object has no attribute 'get_roles' 'trac.env.Environment' object has no attribute 'get_status'
What can I do?
The patches attached by Charlie Clark depend on some other patches he made to Trac, so they will not work on any official Trac version.
comment:8 Changed 19 years ago by
| Cc: | Gunnar Wagenknecht added |
|---|
comment:9 Changed 19 years ago by
Trac has no concept of roles, nor even really of users which is why I implemented them in RelationalTrac and supplied the patches for AccountManager to work with these. I don't understand why the plugin would throw errors if not using dbauth.
comment:11 follow-up: 12 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
| Trac Release: | 0.9 → 0.10 |
r1065 implemented basic account administration for use with Trac 0.10. I'm opening a new ticket for administration of the AccountManagerPlugin settings in trac.ini.
comment:12 Changed 19 years ago by
Replying to mgood:
I'm opening a new ticket for administration of the AccountManagerPlugin settings in trac.ini.
That ticket would be #542.



Am currently working on a "user.py" for webadmin. Highly tied in to my own "RelationalTac" stuff but will post the diffs here.