Hi,

I'm trying to implement search using Thinking Sphinx for Projects that
have access control based on Project Types.

I have 4 tables I need to work with:
* Project (included in search)
* Project Type (included by association in search)
* User (the logged in user)
* Project Access (which has project_type_id, user_id)

When logged in, I would only like to return search results for
projects of types that a given user has access to as defined in the
Project Access table.

I've been looking at this post: "Limiting search results depending on
authorization level" that has given me few clues but I'm still at a
loss how I begin implementing this sort of access control using
Thinking Sphinx.
http://groups.google.com/group/thinking-sphinx/browse_thread/thread/41d7a70ce75b13bb/4e7d7b2d93847d8f

Any leads would be highly appreciated.

Warm regards,
Robert Bjarnason

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" 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/thinking-sphinx?hl=en.

Reply via email to