I'm trying to create a new role, with the ability to edit pages and storys. An editor role, basically. I set up the permissions, but users with the role can't edit page content. They can create it, so some of the permissions must be working, but not edit. Does anybody have any Idea what's going on?

Thanks in advance for any help!!

Comments

twc’s picture

Are you sure that you checked all of the neccessary permissions? Unless you messed around with the code, then you should be able to simply check off 'access content', 'edit own page/story content', 'edit page/story content' while in the permissions section. In other words, everything in permissions under the category Node Module should be checked off for this user, excluding the admin options (administer content types, admininister nodes). Hope this helps.

-Trevor

xjm’s picture

Hi MissMaria,

What contrib modules do you have installed? Do you have any access control modules installed?

If you go to admin/user/roles and click on the "edit permissions" link next to your editor role, what boxes are checked under "node module"?

MissMaria’s picture

I think that I have the right ones checked:

access content
administer nodes
create page content
create story content
edit own page content
edit own story content
edit page content
edit story content

I dont have any access modules installed, and the only code I've done anything to was the CSS, but that's been fine for months...

Thanks!

twc’s picture

I'm sorry, but at the moment I can't think of what would be preventing this user from editing those nodes. I'll think about it though and get back to you if I have any new ideas.
-Trevor

xjm’s picture

All that looks correct. What about your input formats? Were the nodes you're trying to edit created using an input format that the editor role can use? (As I recall, Drupal will not show the Edit tab if the node uses an input format that the user cannot use).

MissMaria’s picture

Input format is Full HTML I'm not sure if the editor can edit that or not- how does one change permisions for input formats?

Quint’s picture

Administer › Site configuration > Input formats > configure

Is it set as default?

Quint
Quality Manual Blog
Sample Quality Manual

steffien’s picture

I also want to have an editor role, where people can only edit their own contents.
I have given them the follwing rights (hope, it is according to the English version, I retranslated from the German):
- create events
- edit own events

- all rights to comments

- access to contact form

- access to locale module

- read content
- manage content
- create page/story content
- edit own page/story content
- all rights to revisions

However, with these settings, they can edit any content and not just their own. If I withdraw their right to manage content, they cannot edit anything.

Does anyone have a solution to that?

Thanks in advance
Steffi

twc’s picture

Try withdrawing their right to...

-all rights to revisions

and leave the rest. See what that does.
If that doesn't work, try disabling everything except

-create events
-edit own events
-access (read) content

other than that I don't know what to tell you. Hope this helps!

twc

MissMaria’s picture

it was not; everything's working now! Thanks a lot! I'd send you cookies if I were the cookie-baking type...:) Thank you!

piersg’s picture

I had a similar problem, all looked OK but a user couldn't edit his own page. The reason was that the page had been created by the administrator with PHP code in the content of the page, then ownership of the page transferred to the user. The (authenticated) user didn't have access to the PHP input format. I created a group called "PHP Users", gave them rights to create/edit PHP-based pages, and added the user to the group. All works now as it should

I do trust this user not to wipe out the entire database...