Enhance permission system

webchick - July 18, 2005 - 22:58
Project:Quiz
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

- Add additional privileges, such as:
o “Access quizzes” (used if you want to limit quiz taking to registered users)
o “Administer quizzes” (used to make changes to a quiz after the fact)
o “Revise questions moderated” and “Revise questions unmoderated,” for submitting question revisions to a moderation queue, or directly to the question, respectively (note: I had an idea of how to avoid the ambiguity situation of someone having both of these options checked… Change the names to: “Suggest question revisions” (submit to a moderation queue) and “Administer questions” (used to review queue and make actual changes to the questions), and have a checkbox or similar that says “Overwrite current question” to differentiate between the two… Because an administrator could still use the interface to merely suggest question revisions, if for example they weren’t completely confident in some area and wanted them to be reviewed by other administrators).

#1

Sean B Fuller - October 11, 2006 - 17:04

Some work was done on this front, but we might want to take another pass at it. webchick's comment from http://drupal.org/node/85983:

"user results" is not a very descriptive permission name.. "view user results" (or "view quiz results"), maybe?

Are there any other issues with permissions that need to be addressed?

#2

rfolk - October 19, 2006 - 23:27
Status:active» needs review

Attached is a small patch that allows the "administer quizzes" permission to be assigned to different roles.

AttachmentSize
quiz_permissions.patch 833 bytes

#3

Sean B Fuller - October 22, 2006 - 19:16
Status:needs review» active

I created a new issue (http://drupal.org/node/90686) for the missing "administer quizzes" permission that the above patch fixes. Re-opening this issue as it is a broader feature that needs to be addressed.

#4

add1sun - May 11, 2007 - 21:12

Also see http://drupal.org/node/92182 as an issue with further thoughts to this one.

#5

turadg - July 7, 2009 - 16:18
Status:active» fixed

The first two permissions have been implemented. The latter two permissions only make sense if there is some moderation queue. Even then, there are permissions in place for that with Drupal's revision system. Either edit to make a new revision or edit in place. See, http://drupal.org/node/26997

Marking this as fixed.

#6

System Message - July 21, 2009 - 16:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.