I've set up Workflow and Revisioning much as described in Revisioning with state-based content access control. But users only seem to be able to edit nodes that they created, not nodes that anyone else created: the Edit tab isn't there, and if they try accessing node/xxx/edit directly, they get Access Denied.

Any idea what might be causing this?

I previously had a similar issues that seemed to be CCK related (http://drupal.org/node/845860). But this time, it affects standard nodes.

Comments

robbm’s picture

Version: 6.x-1.4 » 6.x-1.5

Still an issue in 6.x-1.5

Bastlynn’s picture

You've almost certainly got something wrong in the configuration. Double check your configurations for permissions. (Workflow Access, or the default permissions per user role).

robbm’s picture

Thanks for the reply.

As a test, I tried enabling every permission for my "Contributor" role, apart from "Administer nodes" and "Edit any content-type content", but I still got no Edit tab. Obviously enabling either of those does give me an Edit tab, but they need to be disabled for Workflow to work (i.e. to prevent users from editing nodes in prohibited states).

In Access Control, the "Roles who can edit posts in this state" (for the "Pending revision with contributor" state, i.e. "In draft") is set to "Contributor" only. However, while the original author can edit node in this state, other Contributors cannot.

Am I missing something?

Encarte’s picture

Status: Active » Postponed (maintainer needs more info)

You should install Devel Node Access module in order to debug your problem. Its very hard to guess what may be wrong with out it.

Are you sure your content type is linked to your workflow in the workflow admin page (yoursite/admin/build/workflow)? The behaviour you're describing is as if there was no workflow module acting on that content type.

robbm’s picture

Thanks for the tip. I'll try installing that and see what it reveals.

But, yes, the content type is definitely linked to the workflow. Users get the workflow tab, and can move the nodes between states. They just can't edit them...

rjs.martins’s picture

Have you found any solution?

In my case the admin/ manager roles would be able to edit and access every node of that specific type, but instead, if a "client" creates a node, only him can view the fields in the edit page.

Admin and manager can't view the fields in the edit page, and i've double-checked all permissions and they have it all.

I don't understand what is the problem.

rjs.martins’s picture

Issue summary: View changes

Typos.

johnv’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (won't fix)

I wish there was a nicer way to clear the issue queue from D6-issues then a "won't fix for D6."
Please open a new issue if this still persists in D6.