By mgorla on
Hi :)
I've done a quick search in the forum, but it seems that this "problem" has not been discussed yet.
When a user creates a node, it is possibile to edit it for him and for a group with appropriate permissions.
What I need is to create multiple authors for some nodes.
It should work in this way:
- user1 creates a node, for example page1
- user1 creates another author for page1, that is user2
- user2 now can edit page2 and page2 is listed in his content list (using view for example)
:) I hope I was clear with my explanation ^^
thank you by now
Comments
I have a solution for this,
I have a solution for this, which required a combination of user permissions, CCK, and one function in a custom module.
- Firstly allow all your users permission to edit the node, whether they are a permitted author or not. What I mean by this is access control/permissions should not deny access to editing the content type.
- Create a CCK userreference field and allow multiple values (I prefer to use autocomplete widget btw)
- Create a custom module for your website to throw this function into.
The code I've posted below is for Drupal 5 so keep this in mind when developing for D6.
My userrerference field is 'field_allowed_authors', my content type is 'district'
module?
is there a module for us people who dont understand all the drupal jargon?
Modules able to do that
If you're not a coder one of the following modules are able to do that:
http://drupal.org/project/coherent_access
http://drupal.org/project/author_taxonomy
http://drupal.org/project/tac_lite
http://drupal.org/project/taxonomy_access
_
One other one I just heard about, but haven't had a chance to try: http://drupal.org/project/shared_edit. I like the way it looks-- dead simple and very lightweight.
Thanks danielb! This is
Thanks danielb!
This is exactly what I needed. I little modification and this fit perfectly into my application.
THANKS A MILLION!