Hi Tobias,

> Once we are inside the REST-endpoint, we know who the user is, what
> groups he/she belongs to and thus what he/she is allowed to see. The
> difficult part with filtering the search result *after* querying is
> to return a fixed number of result items when a limit and offset is
> used for paging. Say the user wants to see page 5 of *his/her* search

I don't know if it is so much difficult as just not really performant
to do.  But it seems straight forward to do.

> Solr could do all of that for us in a much faster way without
> requiring to load all the data if we were able to specify the
> auth-filter criteria at search time.

I wasn't aware that solr had an understanding of auth - can you point
me to more info on this?  As long as it fits with the models we're
interested in it sounds fine to me to do it.  It's only if it means
munging all of our auth info into solr that I think it should be
avoided in a first cut.  I would hate to see us need to keep some 3rd
party auth system up to date with a custom solr setup if we don't have
too; that's just asking for synchronization issues.

Chris
-- 
Christopher Brooks, BSc, MSc
ARIES Laboratory, University of Saskatchewan

Web: http://www.cs.usask.ca/~cab938
Phone: 1.306.966.1442
Mail: Advanced Research in Intelligent Educational Systems Laboratory
     Department of Computer Science
     University of Saskatchewan
     176 Thorvaldson Building
     110 Science Place
     Saskatoon, SK
     S7N 5C9
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to