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?

CommentFileSizeAuthor
#7 1.pdf59.75 KBadamtong
#7 2.pdf60.29 KBadamtong

Comments

rdeboer’s picture

Hmmm... I did not intend to change this behaviour.
Will have to look into it.

rdeboer’s picture

I 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?

adamtong’s picture

I 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)

rdeboer’s picture

Don't know Adam. Have you tried these combinations yourself?
Rik

adamtong’s picture

which version of workflow module you are using? I think I can test the stable version (but the stable version actually has lots of bugs)

rdeboer’s picture

Workflow dev version of a few days ago.

adamtong’s picture

StatusFileSize
new60.29 KB
new59.75 KB

Hi, 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)

rdeboer’s picture

Hi 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

adamtong’s picture

Hi 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.

rdeboer’s picture

Title: Permission problem » For /workflow-dashboard to work need to tick "Show a comment field on ... workflow tab form"
Assigned: Unassigned » rdeboer

Yes it's not as it should be. As I mentioned in #8. I will fix this ASAP.

rdeboer’s picture

Status: Active » Fixed

Checked in a fix 7.x-1.x-dev, dated 31-Jan-13

adamtong’s picture

it works!!! thank you.

rdeboer’s picture

Cool. Thanks adamtong for testing and confirming it works.
Will be in 7.x-1.0-beta3

rdeboer’s picture

Status: Fixed » Closed (fixed)