Subject pretty much says it. I want to create a role that allows a select group of users to edit any and all nodes (or nodes of say, type "page"). In other words, an admin group of a sort that can all edit pages nodes on the site.

BTW, the site in question will likely only have anonymous users and "admins".

Comments

sillygwailo’s picture

To let a role edit only certain types of nodes, check out the node_privacy_byrole module.

  1. Create a role as you normally would, say, "Page editors". That's under administer » access control » roles tab.
  2. Install and enable the module.
  3. Click administer » settings » node_privacy_byrole and select "Enable the node_privacy_byrole module." This is an extra but necessary step compared to most modules.
  4. Click "Save configuration".
  5. Click administer » content » configure tab » content types sub-tab.
  6. Click the "configure" link next to the content type you want to let people to edit, so in your example, 'page'.
  7. Under "Default Edit Permissions" select the role you created, so using my example, "Page editors".
  8. Click "Save configuration".

(Username formerly my full name, Richard Eriksson.)

ergophobe’s picture

Thanks Richard. I thought I had seen a module that did this, but I was thinking "I don't want node-level permissions, I want to be able to set permissions for content types." (plus I couldn't remember which module I needed).

Thanks also for the detailed steps. It saved me a lot of time that I would have spent poking around trying to find the proper settings.

I really appreciate it.

ergophobe’s picture

For future reference, the Simple Access module would also do this.

node_privacy_byrole is more appropriate in my case, but others with similar needs should also see Simple Access before making a decision

Geary’s picture

It sounds like you're on the right track if you wanted to allow your admins to edit only nodes of a certain type.

If you wanted to allow admins to edit *any* node it is even easier: Simply enable the "administer nodes" permission on their role.

Just mentioning it for the benefit of anyone who happens across the post.

JonathanDStopchick’s picture

THe problem with administer nodes is that someone with this on can do more than edit all nodes, this may not be desired.

.o.oOo.o.

Me I'm dishonest, and a dishonest man you can always trust to be dishonest. Honestly it's the honest ones you have to watch out for, you never can predict if they're going to do something incredibly stupid. -Jack Sparrow

seanberto’s picture

I'm struggling with this too. I created custom node types using CCK precisely to give the office staff using my site the ability to edit specific content. I reserved "page" nodes for general site setup pages - section introductory pages, etc.

If CCK offered an additional access privilege for each custom node type called "edit all XXX type nodes", our problems would be solved.

-sean

Sean Larkin