Problem/Motivation
At now all users with Drupal Administrator permissions always see "Schedule" form field group, but for most cases it is not needed in interface. Showing this form can be managed via "Schedule state transition" permission, but administrators have all permissions by default, so can't remove this permission from himself.
Also we have cases, when in one workflow same user must have "Schedule" feature, but in other - not, and this also can't be solved via permission settings.
Proposed resolution
Possible solution for this problem can be adding an option into each workflow "Allow schedule state transitions". What do you think about this solution?
Comment | File | Size | Author |
---|---|---|---|
#5 | workflow_3173802_5_hide_scheduling.patch | 3.56 KB | johnv |
Comments
Comment #2
MurzHere is the patch, that adds new option "Show a scheduler in state form" to each workflow form settings (checked by default), which allow to force hide "Schedule" form from needed workflow forms even for administrators, via unchecking this option.
It is not change previous behavior, if this option is missed in current config, it threats them as "TRUE".
Please review my patch - is the implementation right?
Comment #4
johnvComment #5
johnvPatch updated. I renamed the option to be more in line with other fields. Sorry for that.
Comment #8
johnv