I wish to create a workflow, in which a secretary assists three persons. There are many secretaries assisting supervisors.He/She may be creating a document for any of the three supervisors (exactly one).

At present when a state changes everyone in that role would be able to see it.

How to ensure that secretary determines that out of the three persons the state should be seen only by that one person (in the role of supervisor) and not all.

In some other case, it may so happen that a document should get approved by all three and therefore unless all three change a field it should not go to the next state.

Thanks,

Comments

Bastlynn’s picture

Status: Active » Closed (won't fix)

That's not how Drupal works. To do what you need to do, you need to start looking at other forms of access control. Check TAC module or the like, but remember that permissions in Drupal are additive not subtractive. So if any module says someone can view something, then they can - regardless of what another module has to say on the matter.

Since this request is over a year old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a request for it against Drupal 7 and I'll be glad to take a look at it.

johnv’s picture

Issue summary: View changes
Status: Closed (won't fix) » Closed (duplicate)

In the D7-2.x version, you can add/limit the available states using a hook_alter(). See workflow.api.php, or #744272: Allow dynamic/flexible/freely definable transitions per state.

You'd need to add a 'secretary' user field to the node or transitions form. See #557764: More deep revision settings (like choosing a reviewer)