Users should be able to view the status of checklists even if they can't change them

somnoliento - April 15, 2008 - 17:59
Project:Ajax Checklist
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Currently, it seems that the "loadall" function can only be accessed by users with 'update ajax checklists' permission (as defined in the 'ajax_checklist_menu' function in ajax_checklist.module)

This means that a user which can't update checklists (say, an anonymous user) can't even see the current status of a checklist.

The plan would be something like:

  • Add a new permission: 'view checklist status'
  • Allow users with one of these permissions ('view checklist status' or 'update ajax checklists') to run 'ajax_checklist_loadall'

Obviously this applies only to "global" checkboxes.

I'll submit a patch if I end up implementing this.

#1

asciikewl - November 13, 2008 - 13:53
Status:active» fixed

When a user does not have save access they should now (1.2) see disabled checkboxes. I decided that adding another permssion is probably not required.

Anton

#2

System Message - November 27, 2008 - 14:12
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.