This patch adds a select all checkbox to the table header for easier administration when fields need to be restricted. This helps save time when one has many roles as well as many fields.

I also removed the closing php tag - http://drupal.org/node/545.

CommentFileSizeAuthor
workflow_fields_0.patch867 bytesv1nce

Comments

infojunkie’s picture

Assigned: Unassigned » infojunkie

Thanks for the patch I'll get to work on it next week.

missC’s picture

Hello. Has there been any progress on this? I would love to have a select all/select none capability for each field. Another way to make the UI easier when there are a lot of fields, states and roles would be to be able to, for a given field, select the role access and then say it applies to xy and z states. Then you could repeat and create a new configuration for the field and roles and say that applies to ab and c states.

Either way, this is a great feature but not user friendly when you have a hundred fields, 10 states and 5 roles. Ugh.

infojunkie’s picture

@missC, thanks for the nudge :-)

The patch sent here is not really useful, the select all/none being 2 extreme cases. Your other suggestions sound more reasonable and I have to imagine a UI for it. In the meantime, there's a very nifty Firefox extension called "Check All" that lets you select the boxes you want to check by dragging the mouse, then right-clicking and choosing "Check all selected checkboxes" or "Uncheck". That's the most flexible solution I found so far.

missC’s picture

Thanks, kratib! You just saved me from some serious repetitive motion injury :)

infojunkie’s picture

Status: Needs review » Closed (won't fix)

Won't check this in. Need a better UI.