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.

Comments

asciikewl’s picture

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

Status: Fixed » Closed (fixed)

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