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

mirnav’s picture

Can i have this option in workflow?

mirnav’s picture

Assigned: mirnav » Unassigned
nancydru’s picture

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

mirnav’s picture

Can you please explain a little more.I didn't find any solutions yet.

Can we set workflow according to users?

nancydru’s picture

Assigned: Unassigned » nancydru
Priority: Critical » Normal

No, 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.

mirnav’s picture

Status: Fixed » Active

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

nancydru’s picture

Status: Active » Fixed

Thanks for the update. For others who may have the same issue, could you, perhaps, explain what you changed?

Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.