Quoting Iain Buchanan <[EMAIL PROTECTED]>:
> W. Martin Borgert wrote:
> > Hi, I have created multiple trac instances for my projects. All are
> > running via the same Apache server and WSGI.  Authentication is done
> > via AuthType Basic and the usual .htpasswd file. Every project has
> > it's own set of users, but some users have accounts in more than one
> > of the instances. So I don't want to add users globally to all
> > projects. But it would be convenient, if a user could use the same
> > password in all instances and a password change would reflect to all
> > instances (maybe also preference changes). Is there some way to do
> > this? TIA!
>
> You can do this by sharing the .htpasswd file amongst all tracs.
> However, you can't have a basic "authenticated" permission, otherwise
> any authenticated user would have access to any trac.
>
> Instead you need to get rid of all permissions from "authenticated" and
> add desired permissions to "users" for each trac.

"users" is a trac-defined magic value, like "anonymous" or
"authenticated"?

> Then do a "permission
> add userfoo users" in trac1 and "permission add userbar users" in trac2.
> This gives userfoo access to trac1 and userbar access to trac2.  (thats
> trac-admin syntax, you could do it from the www interface too).

One problem: I use the same .htpasswd files for both trac and the
related SVN repositories. However, Apache/SVN do not care about
trac permissions, right?

And it would be nice, to have the possibility of synchronising
user preferences, e-mail address etc. as well.

> If
> userfoo tries to log into trac2, they're not in the users group for that
> trac, hence they only have the anonymous permissions (in my case,
> anonymous has no permission!)

Same here.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to