1

I have a role dedicated to creating and/or editing a specific content type. It is the only activity to be allowed for this role.

I have set up login destinations module to go to the content overview and it pretty much works fine. Users can only edit the allowed content type and when they add content, they immediately get the content type they are allowed to use.

The issue is that I want the user in this role to ONLY see the content type they are allowed to modify. Currently, it lists all the nodes, which will be confusing for the folks using this role.

Any ideas on a way to use the content overview screen and limit the nodes viewable?

Thanks in advance.

1
  • Is there a reason not to use Views?
    – Gaelan
    Jun 6, 2013 at 4:01

3 Answers 3

1

If you have to control the list of content where they go to find content to edit, then you should use VIEWS & make list of only those content which they have permission to edit. Set a page for that list & navigate them there. It's pretty easy..

But if you want to restrict full content type for viewing then you can use Content Access module for that.

2
  • Thanks! I tried a view first and my issue was that I'd have to create and "Add Content" button of some sort. Since I was so close with the built-in content overview, it seemed the logical choice. I'm trying to keep the system relatively simple to maintain with a minimum of custom PHP.
    – KCL
    Jun 6, 2013 at 12:52
  • @KCL - You can make a view & show it on dashboard. Set their navigation to the dashboard when they login. You will similar experience of content overview if you use dashboard & view together.
    – RajeevK
    Jun 6, 2013 at 18:04
0

You can try Access Control Lists.

The ACL module, short for Access Control Lists, is an API for other modules to create lists of users and give them access to nodes. It has no UI of its own and will not do anything by itself; install this module only if some other module tells you to.

2
  • This answer is of little help for the OP, since you do not explain why and how to use ACL. Also, the ACL module has no user interface and is only intended to be used as a helper module for other modules, so by itself, it will do nothing. It also resolves to users, not roles as requested by the OP. Jun 6, 2013 at 6:40
  • How to write a good answer meta.stackexchange.com/q/7656
    – niksmac
    Jun 6, 2013 at 7:09
0

Ok, depending on how many roles you have & how many content types they are allowed to use you can simply create ::

The content types to fit each particular role so when each ROLE TYPE adds content they could only see their Corresponding CONTENT TYPE nodes respectively..

this can be done using::

Permissions Roles Content type

It will leave a messy back end if you have tons of roles & content types but if their is only 2-3 it should be the easiest & simplest way..!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.