[Building Sakai] How to differentiate question pools between two sites.

Cris J Holdorph holdorph at unicon.net
Mon Jun 18 10:31:05 PDT 2012


First, it's important to understand that currently (in Sakai 2.9) and 
going back for I don't know how long, Question Pools were not tied to a 
specific site, they are tied to a user.  This has advantages and 
disadvantages.  It means a user can see their question pool in any site 
they have maintain access to.  It ALSO means that two DIFFERENT users in 
the same site can not see each others question pools.  This is how I 
understand the code.  If I am wrong, please correct me.  But it's based 
on this understand that caused Unicon to help change the code for a 
specific client need.

Unicon has helped Pearson International make a change, which we thought 
would just be a local only modification.  However, given what I learned 
at the Sakai conference last week and this email message to the list, I 
wonder if there is general interest.

We have changed our local instance to make question pools site specific. 
  We needed to do this in order to add some additional permission levels 
to a site to control who could access vs. who could modify a question 
pool.  We wanted one role to be able to modify any question pool in the 
site and we wanted another role to be able to read/access any question 
pool in the site.  To accomplish this, we had to first associate 
question pools with sites.

Initially we felt like this was too big of a change and would break 
existing users/organizations that relied on the current behavior. 
However, there is general interest in making this change, I'd be happy 
to produce a patch for the changes we made to make question pools site 
specific.

---- Cris J H

On 06/18/2012 05:25 AM, Bhanu Teja Motupalli wrote:
>
> Hi all,
>
>            I have two instances of samigo tool in my project each in separate
> site(e.g. site1 -->  Test&  Quizzes1 and site2 -->  Test&  Quizzes2). Here the
> database tables are common for both tools.
>
> While listing question pools(please check the attached screen shot),  i
> would like to  filter question pool list based on site id.
> http://old.nabble.com/file/p34029518/QP2.jpeg
>
> So can any one please tell how can i differentiate these question pools for
> different sits.
>
> Thanks&  Regards
> Bhanu Teja M.


More information about the sakai-dev mailing list