Hi, the new patch can be applied to trunk and it works correctly, as far as I could test it: http://trac.edgewall.org/ticket/2456 Anonymous users can change their session settings as before, but logged-in users access the UserManager API to change their user properties (by default it accesses the session, again ;). Information from authenticated users must be retrieved with the UserManager (e.g.: email map, usernames for restrict_owner). The API should be usable, as is, but Christian Boos said that it needs more work to be complete. I agree, but by providing the API now we could let others create plugins independently (and thus help me with my work).
The next step would be to port the AccountManager's admin interface to the new API. Do you want Trac to use the web server's http authentication method or should Trac by default use form-based authentication like with AccountManager and DbAuth? We could support htpasswd and htdigest by manually specifying those files in trac.ini. Forms are more user-friendly because http authentication blocks the whole browser window. Should the adapted DbAuthPlugin be integrated into Trac, too? That way, Trac's default behavior could be similar to other bug-trackers that simply store the user information in the DB and provide real registration support (which probably needs DB changes for activation confirmation...). This would get users started more quickly (esp. those who use Trac as a bug tracker without repos integration). In the future, I want to allow for managing htpasswd/htdigest independently of the registered users (i.e.: separate repos access from Trac access) with an extra plugin (RepoAccount). I already hacked AccountManager locally such that it allows for managing repos access with Trac 0.10, but our login is handled by DbAuth. There is a new permission policy REPOS_ACCESS and an additional admin interface for managing the accounts. Users with that permission get a menu "Repos Account" where they can change the password for their repos account (and create an account if it doesn't exist). In order to work properly on this I want to ask if you could give me access to your repository. I could work in a separate branch. Also, this would make it easier for me to commit small bug fixes to trunk very quickly. Thank you. Bye, Waldemar Kornewald --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
