On 6. mai 2011, at 19.58, Jens Elkner wrote:

> On Fri, May 06, 2011 at 06:27:28PM +0200, Trond Norbye wrote:
>> 
>> WOuld that approach allow you to filter out some of the items in the "list" 
>> of available projects to search? Like if we add this config to 
>> src.opensolaris.org/source only the logged in people with access to OpenGrok 
>> may select opengrok there, and the rest of the users may see all of the 
>> other projects? If so I'm happy to back out the changeset :)
> 
> Yes, if you use a filter ;-):
> http://download.oracle.com/javaee/5/api/javax/servlet/Filter.html
> 

Yeah. that seems to do the trick.. 

> BTW: Basically I probably wouldn't care about a _displayed_ projects
> list. In a Filter I would simply remove inappropriate projects from
> the REQUEST params/check the xref path ... ;-)

The only question is if that's good enough for the people who requested it.

Trond..
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to