Brief: I set for author some rights but it doesn't affected in workflow tab.
I found that in workflow.module line ~1692 have strange condition: ($t->tid == $t->state_id)

if ($roles == 'ALL' || ($t->tid == $t->state_id) || workflow_transition_allowed($t->tid, $roles)) {

Comments

abhaga’s picture

I noticed the same thing but couldn't figure out any purpose for this condition. Is it ok to just remove it?

abhaga’s picture

And after 4 months, I realize that the code is checking for the transition to the same state as the current state (e.g Draft to Draft) and include it in choices. This is required since the code in other places assumes that same state transition in included in the array of choices.

Hope this helps !

deekayen’s picture

Status: Active » Closed (works as designed)

Unless I'm mistaken, #2 resolves this issue.