Hi
Not sure if it is bug or feature
Every authenticated user with quiz create permission on my site can see all created questions of all users on his quiz Manage questions page.

Personally, I don't think it is good

Reasons:
a) there can be hundreds/thousands questions and in this case quiz author have to write his name and start to filter for finding his questions...
b) new quiz author can be missunderstood why there are those questions available for his new empty quiz with topic out of all these question...
c) some questions can be only for some quizes with some node access (e.g. for private organic group only) and they are visible here (I suppose, maybe there is some access filter)
d) if user choose some of this question - it is added by javascript upper for that quiz and edit/delete links are shown. But this user probably has no access for editing/deleting these questions, so these links are again missunderstood for him
e) there can be answer in question title in some questions and this non author can see it
f) there can be any privacy info in this quiz titles and this non author (basic authenticated user) can see whole question title

Some suggestion how to doit better
a) (really quick solution) automatic filling this filter with quiz author username then he can see only his questions at first
b) to add permissions "add other users questions into quiz", and only those users can see all of those questions on their quiz manage questions page. But in this case, the links edit and delete could be check access of concrete users and to show them only if that user has acccess to edit/delete the question.

thanks
Igor

Comments

igorik’s picture

this:
Every authenticated user with quiz create permission on my site can see all created questions of all users on his quiz Manage questions page.

could be:
Every authenticated user with quiz create permission and with some created quiz on my site can see all created questions of all users on their quiz Manage questions page.

it is better explaining I think. Sory for my english.

falcon’s picture

Version: 6.x-4.x-dev » 6.x-5.x-dev

I see. If you install this module all questions not belonging to the active og should go away:
http://drupal.org/project/og_strict_filter

The rest of this issue will have to wait for quiz 5

falcon’s picture

Thanks for reporting!

iattila’s picture

Component: Code - Quiz module » Code - Import/Export

Hi,

Thanks for the reply.
Is there any way to solve this? Unfortunetly og_strict_filter doesn't work for me.

Thanks"

gaheinrichs’s picture

I think that it should work by adding some variables: global $user and $uid = $user->uid and send the sql query to get only the ones that are the same to the user that is logged in. Have anyone tried that?

djdevin’s picture

Component: Code - Import/Export » Code - Quiz core
Status: Active » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.