Closed (fixed)
Project:
Workflow
Version:
7.x-1.1
Component:
Wokflow Actions
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
17 May 2013 at 09:37 UTC
Updated:
4 Jun 2013 at 09:41 UTC
In my site I have two users with same role.How can I manage the state change of the node?
To be more precise,how can i block a user from changing the state of the node if another user with same role had already modified the state of that node?
Comments
Comment #1
mirnav commentedCan i have this option in workflow?
Comment #2
mirnav commentedComment #3
nancydruWith the Workflow Access module (comes with the package), you can limit who can edit a node when it is in a given state.
If that's not fine-grained enough, you can use the hook_workflow() i a custom module to execute any logic you imagine.
Comment #4
mirnav commentedCan you please explain a little more.I didn't find any solutions yet.
Can we set workflow according to users?
Comment #5
nancydruNo, workflows are set by roles, as so much of Drupal is. On my live site, we have the same situation, when a Coordinator has moved a node from "Ready for Coordinator" to "Ready for Manager", then no other Coordinator may edit the node.
Comment #6
mirnav commentedThanks a lot for the suggestions.I solved it by setting the permissions.
Actually it was not set according to my requirement.When I did it in the proper way,it worked.
Comment #7
nancydruThanks for the update. For others who may have the same issue, could you, perhaps, explain what you changed?