drupaldrupal-6drupal-permissions

Drupal - hiding advanced post settings from users


I'm getting lost in the sea of allowable permissions in Drupal.

I have a content-type which has revision and workflow settings all nicely setup, but I do not want my users to be able to see these options (new revision each time automatically, etc).

From what I understand, this information goes away when you disable the 'administer node' field, however when I disable this my link for editing nodes disappears for these users.

My question is twofold then:

  1. What is the proper way to hide this access from users

  2. If disabling 'administer nodes' is the key, then how do I direct my users to have access to edit their content-type once it is created? (currently it points to admin/content/node)

I have seen solutions that involve overriding the template.php file, but I'd rather not do this.

Edit

Here is a clarification of the behavior:

Current permissions

                                 special role
administer nodes                     [x]
create <custom> content              [x]
delete any <custom>content           [x]
delete own <custom>content           [x]
edit any <custom> content            [x]

So, with this snippet of settings, my users can see things like 'revision information,' 'publishing options,' etc.

I want these advanced features to NOT appear for them. What I have learned is that this can be controlled by disabling 'administer nodes.'

The problem is that when this is unchecked, my users lose the option in their menu which points to editing my content. Currently, this points to admin/content/node


Solution

  • Perhaps I'm misunderstanding your question as the solution I'm going to recommend is very straighforward: In the permissions page there is a permission, edit any story content, edit any page content... for all the users you want, you can assign them a role and mark the checkbox here. This will allow them to still edit the nodes and yet will avoid all the extra junk that you see in the node edit form that you get if you have the administer nodes permission checked.

    Edit: As pointed out in my comment below (and by googletorp), to get something like admin/content/node you'll have to build it using VBO (Views Bulk Operations) (after disabling administer nodes)