I update the latest version (beta2) and found that the workflow transition button disappear for some roles.
In old version, I used "Access workflow summary views" permission for users to only see the workflow state transition button in Views field: "Workflow: State transition form", and I do not assign the "Schedule workflow transitions" permission so that users can only view the "buttons" and do not use the "schedule time transition".
However, after update, only assign "Access workflow summary views" permission do not work. I must assign "Schedule workflow transitions" permission to users but it will make them able to schedule a transition.
Is it a bug or by design in the update?
Comments
Comment #1
rdeboerHmmm... I did not intend to change this behaviour.
Will have to look into it.
Comment #2
rdeboerI have been trying to break the module with respect to this functionality for about half an hour, but cannot find anything wrong with it.
It works for me just like you want it to work....
Did you run /update.php ?
Have you cleared caches AND hard refreshed your browser?
Does the user in question have the permission to perform the transitions in question, as granted on the Workflow config page?
Comment #3
adamtong commentedI have run update.php and clear all cache for it. Also, I have checked the workflow module setting too.
i am using the lastest dev version of workflow, not stable version. is it the reason?
also, i have enable workflow access module too (sub-module of workflow)
Comment #4
rdeboerDon't know Adam. Have you tried these combinations yourself?
Rik
Comment #5
adamtong commentedwhich version of workflow module you are using? I think I can test the stable version (but the stable version actually has lots of bugs)
Comment #6
rdeboerWorkflow dev version of a few days ago.
Comment #7
adamtong commentedHi, I have tested it is a fresh installation of drupal 7.19. I found the problem is true.
I must assign "Schedule workflow transitions" permission to users to make the workflow transition form visible.
Thank you.
PS: i use lastest workflow extension module and workflow module (7.x-1.0+30-dev)
Comment #8
rdeboerHi Adam,
Thanks for these.
At first I could not reproduce your problem.
Then I found it's tied in with enabling comments on the Workflow tab form.
On the workflow you created, click "edit"then tick the box "Show a comment field in the workflow section of the workflow tab form".
That will at least get you going.
Will fix properly as soon as I can.
Rik
Comment #9
adamtong commentedHi RdeBoer, oh! yes..it works now. Thank you so much!!
But it create a new problem that the comment box will show above the state transition button.
But it is much better than showing the schedule form.
Comment #10
rdeboerYes it's not as it should be. As I mentioned in #8. I will fix this ASAP.
Comment #11
rdeboerChecked in a fix 7.x-1.x-dev, dated 31-Jan-13
Comment #12
adamtong commentedit works!!! thank you.
Comment #13
rdeboerCool. Thanks adamtong for testing and confirming it works.
Will be in 7.x-1.0-beta3
Comment #14
rdeboer