Rik,

As I am having the same problem, went through the issue here: http://drupal.org/node/1192750

I saw your note requesting new issues opened if anyone has similar trouble.

Deactivating Content Access and Diff doesn't seem to alter the fact that I need to give "Bypass content access" permissions to moderator roles. I don't have any other modules that deal with permissions.

Site is D7.22 with Revisioning 7.x-1.4, Content Access 7.x-1.2-beta2 and Diff 7.x-3.2

Thoughts?

Comments

rdeboer’s picture

Yes, switch off Content Access and potentially Diff.
If this is a fresh install Diff should be fine. If not, you may have to also uninstall and re-install Revisioning and Diff so that the module weights are reset.
If any of these combo's work then we will have at least isolated the issue.
Also worth trying Revisioning 7.x-1.x-dev as dozens of issues have been fixed in that release (it will soon become 7.x-1.5).
Rik

matt.rad’s picture

Thanks very much for getting back to me so quick, Rik.

I'll not be able to get on to this for a little while maybe, but I will report back as soon as I can.

rdeboer’s picture

Status: Active » Postponed (maintainer needs more info)

Ok... postponing. Rik

matt.rad’s picture

Hi Rik,

I finally got around to doing this properly. Sorry for the delay.

I have done the following with 7.x-1.5 and the dev version that is up now.

  • Switch off all modules related to revisions and content access (Diff, Better Revisions, Content Access and Revisioning;
  • Reinstall Revisioning (first 7.x-1.5 and then dev);
  • Clear caches, rebuild permissions, test.

In both cases, the Admin user and authors could see pending revisions in the pending revision block, access pending revisions and edit them, but the moderator role could not (weird, since both admin and moderator roles have identical permissions). Granting "Bypass content access" to the moderator enabled them to see everything (unsurprisingly).

I thought it might be that test moderator user, as giving that user admin permissions didn't solve the problem. Nor did changing its role to admin. I deleted my test moderator and created a new user, but I had no luck with this.

Any ideas?

rdeboer’s picture

Well that is all a bit strange.
Have you tried with a super clean install from http://simplytest.me ?
Rik

matt.rad’s picture

Hello again Rik,

I set up a clean install of Drupal 7. I then installed Revisioning and created my content type, users etc. and tested again. Unfortunately, the problem persists.

As it is, our site is small and I can grant "Bypass content access" to our moderators, so it is not such an urgent issue, but I would really like to figure this one out. Let me know what I can do.

Thanks very much for your help.

Matthew

matt.rad’s picture

Status: Postponed (maintainer needs more info) » Fixed

I may have found a solution.

In following the instructions on this page about creating a workflow, I found this comment:

Important: uncheck all "edit ... content" permissions in the "node module" section on the User management >> Permissions page as these will supersede the workflow access controls you've just put in place.

I then turned off "Bypass content access" and now everything seems to be hunky dory!

rdeboer’s picture

Status: Fixed » Closed (works as designed)

@matt.rad, #7

That's great Matt and thanks for reporting back for the benefit of myself and others.

So based on what you've just written I now presume that you have the Workflow Access module installed?
If only you had told me earlier, it wouldn't have been such a long road of misery.
What you've found is why I mentioned in #4: "Switch off all modules related to revisions and content access".

Best,
Rik

matt.rad’s picture

Hi Rik,
Being a bit dull, I did not realise that Workflow included this. Sorry for putting you out.
Matthew

rdeboer’s picture

No prob. Others may have run into the same thing, so it's good to have this documented in this thread.