>>Because, after performing this, no user had any rights any longer since
>>they inherit from ANONYMOUS/anonymous, correct?
>>So after that I had to grant permissions to every single user, instead I
>>could have used granting permissions to the "authenticated" group as well.
>>Is this correct?

This depends on how you have decided to add permissions and what you need to 
do, but generally speaking you are correct.
Specifically:
If you have a user named bob that you need to give permissions to, you can do 
this two ways:
1) use 
        permission add bob <PERMISSION TO ADD>
for each permission that is needed
2) use
        permission add usertype1 <PERMISSION TO ADD>
for each permission that is needed (this creates a group usertype1)
        permission add bob usertype1
which adds bob to that group.

Usually you will use groups, with maybe one or two individuals that need 
special access types in a given install.


>>Two questions arising now:
>>- Is it possible to remove the link to session for the single login
>>page, before logging in?
>>- Ho can I redirect to the login-page after logging out?

This I can't help with, someone else want to take a stab?


HTH
James Guyton (JGU)


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
Heinrich Götzger
Sent: Monday, September 17, 2007 5:02 AM
To: [email protected]
Subject: [Trac] Re: startup questions with AccountManager


James Guyton wrote:
> Regarding ADMIN button:
>       Do you have TRAC_ADMIN privileges?
not yet, but:
trac-admin /opt/trac/example permissions add admin TRAC_ADMIN
helped a lot

> 
> Regarding public access:
>       Have you tried removing all permissions for ANONYMOUS users?
not yet, but:
trac-admin /opt/trac/example permission remove ANONYMOUS '*'
did not help, but
trac-admin /opt/trac/example permission remove anonymous '*'
is working (better than expected ;-) instead.
Because, after performing this, no user had any rights any longer since
they inherit from ANONYMOUS/anonymous, correct?
So after that I had to grant permissions to every single user, instead I
could have used granting permissions to the "authenticated" group as well.

Is this correct?

Two questions arising now:
- Is it possible to remove the link to session for the single login
page, before logging in?
- Ho can I redirect to the login-page after logging out?

Thanks for your help.

Cheers

Hank

> 
> HTH
> James Guyton (JGU)
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of hank
> Sent: Friday, September 14, 2007 10:28 AM
> To: Trac Users
> Subject: [Trac] startup questions with AccountManager
> 
> 
> Hello
> 
> I just started to evaluate trac for using it with our projects.
> 
> Since we working on distributed places I plan running it on a public
> reachable webserver running gentoo with apache 2.2. Therefore
> Authentication is a big issue.
> I'm using trac-0.10.4
> and here is part of the trac.ini:
> 
> [components]
> webadmin.* = enabled
> trac.web.auth.LoginModule = disabled
> acct_mgr.admin.AccountManagerAdminPage = enabled
> acct_mgr.web_ui.LoginModule = enabled
> acct_mgr.web_ui.RegistrationModule = enabled
> acct_mgr.htfile.HtPasswdStore = enabled
> 
> [account-manager]
> password_store = HtPasswdStore
> password_file = /opt/trac/trac.htpasswd
> 
> 
> The first step was just using the htpasswd from apache which worked
> fine for a single user, but more users are coming, so I checked the
> AccountManager-Plugin.
> 
> I like the self-registration, which saves a lot of work for the admin.
> And logging in and logging out seems to work fine as well.
> 
> Except that there is on point which comes up:
> I installed the AccountManager as described in
> http://trac-hacks.org/wiki/AccountManagerPlugin
> and than I get:
> TracAccountManager-0.1.3dev_r2548-py2.4.egg-tmp: Error
> ([Errno 2] No such file or directory: '/opt/trac/
> TracAccountManager-0.1.3dev_r2548-py2.4.egg-tmp/VERSION')
> 
> Besides the AdminPlugin seems not to work as expected, at least I'm
> not getting the Admin Button in the right corner.
> The Admin has been installed as described here:
> http://trac.edgewall.org/wiki/WebAdmin
> 
> But actually the site is still available for public access.
> Is there a way to close the site convenient for other users than the
> registered one?
> 
> Thanks for your help
> 
> cheers
> 
> Hank
> 
> 
> 
> 
> > 




--~--~---------~--~----~------------~-------~--~----~
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