Is this the behaviour desired? i mean, when a user has permission to change the workflow it also grants him with the permission to actually edit the node. Is there a way of grant only the permission to change the workflow, but no to edit the node? in simple words: i want a user to see to workflow tab but no the edit tab.
Comments
Comment #1
JacobSingh commentedYes, you can do that already I believe.
There are separate permissions. See admin/user/access.
There is a separate perm for workflow
Best,
Jacob
Comment #2
leanazulyoro commentedin the access control the role doesn't have the permission to edit the node. but i created a workflow and assign the permission to change the states to the same role. the thing is that users in that rol, will still be able to edit the node even when in access control it says it doesn't.
Comment #3
JacobSingh commentedIf you've set up your workflow transition perms correctly, it should work.
Here is the code which decides if the user can see the tab:
Comment #4
leanazulyoro commentedi'm not an expert in php, just confirm me that it should work as i need, i will then try to find the source of the problem (that at this point i could call bug). i repeat the behaviour i'm getting:
i have a user that has permission to see the node, but not edit it. if i don't assign any workflow to the node, the user sees the node, but can't edit it. but as soon as i assign a workflow to the node, and grant the user with permissions to make all transsitions among states, then the user sees the node with the workflow tab, but also with the edit tab, and he can actually edit it.
Comment #5
Bastlynn commentedHi,
With the release of Drupal 7, Drupal 5 is no longer receiving security updates, reviews, or development from many contributed modules. Since 5 is now considered a depreciated version, you really should seriously look into upgrading to Drupal 6 or 7. The newer versions of Drupal work better, have more support, and will be safer (literally! security patches!) for your website. We are currently working on a new release for Workflow to Drupal 7. In light of that, further support for Drupal 5 issues is infeasible at the moment. Please consider upgrading to Drupal 6 or 7 in the near future - you'll be glad you did.
- Bastlynn