After my previous post, I did some more work on the same site, and came across the issue I talked about before. Unfortunately the fix I used last time didn't work for a new situation I came across, so I had to do some more rummaging in the Drupal modules and forums to see if I could find a better way around it.
Looking at what I was wanting to achieve, I wanted to be able to allow a role to look at the list of content and then add, edit or delete this content. However, I didn't want to give the role Node Administration access, because that would mean the user has access to create new WebForms, which I didn't want to give.
I came across a module called Content Management Filter, or cmf. This module creates a single page that roles can be given access to. This page does everything that the Administer Nodes page does as well as allow more control over the filters to view the content in the site. Also, this module exposes a number of permissions that give an administrator finer control over what each role can do on the page.
I simply included this module, tweaked the permissions for it and then removed the Administer Nodes permission. Now, it works exactly as I want it - the particular role can not create webforms, but they can view a list of all content and add, edit or remove this content!
It's pretty bad that Drupal doesn't let you do this straight out of the box, but thankfully this module gives you all the control you'll need to give roles permission to edit content.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment