[Trac] Re: Tracd server-level authentication

2009-10-21 Thread Cooke, Mark

  
 I'm using Tracd to run Trac 0.11 on Linux. I've configured 
 user logins successfully using an .htpasswd file.
  
 I now want to put the whole site behind some login 
 credentials, so that simply viewing tickets requires a 
 username/password combination. Is this even possible with 
 Tracd? I would appreciate your help and advice.
  
You could simply edit the permissions and remove almost everything from
the anonymous special group ~ I have done this with one of my tracd
sites (on Windoze but the same should apply on linux).

The downside of being draconian is that you need to provide at least
WIKI_VIEW for them not to get the 'permission denied' screen.  I think
there is at least one ticket about having a separate right for the wiki
start page.  Anyway, it works and is easy enough...

~ Mark C

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Tracd server-level authentication

2009-10-21 Thread gingerbbm

 You could simply edit the permissions
 and remove almost everything from
 the anonymous special group

Great, thanks for the tip!

I created a new user group (subject) called 'viewer' containing most
of  the permissions from the 'anonymous' user, then removed said
permissions  from 'anonymous', then added 'viewer' to 'authenticated'.

So, 'anonymous' ended up as:

BROWSER_VIEW
CHANGESET_VIEW
FILE_VIEW
LOG_VIEW

And 'viewer' as:

MILESTONE_VIEW
REPORT_SQL_VIEW
REPORT_VIEW
ROADMAP_VIEW
SEARCH_VIEW
TICKET_VIEW
TIMELINE_VIEW
WIKI_VIEW

Thanks again for your help.
Stuart
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Tracd server-level authentication

2009-10-21 Thread Jeff Hammel

On Wed, Oct 21, 2009 at 09:20:39AM +0100, Cooke, Mark wrote:
 
   
  I'm using Tracd to run Trac 0.11 on Linux. I've configured 
  user logins successfully using an .htpasswd file.
   
  I now want to put the whole site behind some login 
  credentials, so that simply viewing tickets requires a 
  username/password combination. Is this even possible with 
  Tracd? I would appreciate your help and advice.
   
 You could simply edit the permissions and remove almost everything from
 the anonymous special group ~ I have done this with one of my tracd
 sites (on Windoze but the same should apply on linux).
 
 The downside of being draconian is that you need to provide at least
 WIKI_VIEW for them not to get the 'permission denied' screen.  I think
 there is at least one ticket about having a separate right for the wiki
 start page.  Anyway, it works and is easy enough...

Or you can use http://trac-hacks.org/wiki/PermRedirectPlugin to redirect to the 
login screen first thing.  That's what I do for private Trac instances.

 
 ~ Mark C
 
  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---