Ideas needed: How would you block access based on workflow state?
zeitenflug - March 13, 2007 - 18:03
That's something for really smart drupal 5 users (I'm not among them, obviously): How would you block edit rights to a node based on workflow state in drupal 5?
Here's an example: You have states labelled draft, review and published. Using the module workflow_access in the node access arbitrator module for drupal 4.7 it was possible to block editing of the node while it was being reviewed. But how can I do this with drupal 5? Any ideas? I don't care if node access is blocked completely to the author while being reviewed, but I'd prefer to only block edit rights.
Can anyone think of something smart? Using actions, using other access modules, anything?

yeah me too
I am looking for a similar feature. I want to block off editing certain fields in my CCK content based on the state its is in. So for example if i am in review i want to blcok off the main content for example.
I saw a module called workflow fileds... but it only hides .. does not block the edit capability
raj
nodeaccess
There's a nodaccess module. I tried this by creating an action using the nodeaccess functions. As a standalone access module it worked. However, in combination with the OG group access module I use on my production site, it didn't work. When I gave nodeaccess precedence over the OG access module, the group limitation wouldn't work. And when I gave the group acess precedence over the nodeaccess module, the workflow action wouldn't work. Isn't it somehow possible to use an access module exclusively for a specific node and other modules for other nodes? I don't quite get why I have to use all access modules for all nodes.
Taxonomy Access Control
It's been a while since I had a working Drupal installation, so I'm a bit rusty on the details, but I had a similar need in the past (I wanted users to be able to create nodes, which then got passed on to moderators, who added their own content, and published it to the site).
The solution I settled on used the Taxonomy Access Control module - I created appropriate categories and gave different roles different access levels to them for viewing/creating/editing. I think that module might be worth a look, for your needs.