Hi all,

I've just started working with drupal, so I don't know all the possibilities yet.
I want users to be able to only edit a page body for existing pages. The page title, menu settings and other stuff like taxonomy fields should be hidden from the users. I don't really need to set actual permissions on fields, just hiding the fields in the form should suffice
because this is probably easier then setting permissions on fields. But if it's possible setting permissions per field would be best.
I know you can do some stuff with CCK, but that's for custom content-types/fields, I want to set permissions for the default content-type Page. Can anyone help me out with this?

Thanks,
-- Theo

Comments

theodorus’s picture

I already found a solution using theme/node-page-edit.tpl.php:

http://drupal.org/node/601646

nevets’s picture

First of all you should create another user account other that user 1 and look at the form. I suspect most of the fields you are trying to hide will disappear. The title is important for administration if nothing else, you can set it automatically and also hide it with Automatic NodeTitles.

DominiqueP’s picture

I'm still on Drupal 5, so I'm not sure if this applies to your install, but for things such as this, I tend to use the formfilter module (included with Drupal, no core but "other").

You give user admin rights to
- administer form filters
- view forms without filtering (also give this to the user category you want to allow editing titles)

Then when you open the create a new page / edit page, you get an hyperlink called "Filter this form". You can check "hide Title" and hide whatever field you don't want them to edit. Then save and voilà. Basic users only see what's left in the edit page while admin (and whoever else you allowed to) can still edit titles.