Dear friends,
I have a challenge with an approach to solve it but I would like to receive new ideas and/or suggestions and comments of the gurus about it. This is the scenario:
I need to use one instance of Drupal to share/manage content in 3, 4, 5... "n" different domains where the master domain (e.g. domain_master) make the content and tell, using something, who can publish this content in another domain (e.g. domain_slave1). The slave domain admin (is not the "God" or user/1) check the content in your domain and publish this content just in domain_slave1. All others domains admins can't change this status (published or not) and the content is showed just in this domain.
Well, the domain access module do it but (with a big BUT), where I make a content in the domain master and give to another domain/user the permission to publish or not this content in your area, this admin can publish but the admins of others domains can publish too. In my scenario this is a big problem because I need a solution where I make a content to a domain and just the admin of that domain can publish or not without interferences of others admins.
To make simple:
3 domains (one master, 2 slaves)
3 admins (one master, 2 slaves)
Master admin make a content in master domain and share this content unpublished to slave domain one. Also, make another content in master domain and share unpublished to slave domain two.
The slave admin one, in your slave domain, publish your content in your domain (slave one) and the slave admin two publish your content in your domain (slave two).
At this point, wonderful but I have a problem. Using the domain access module when the domain master admin make a content to a slave domain/user, all slave admins can publish the same content in other domain.
Reading the domain access documentation I found this:
"Any node that is assigned to more than one domain can be edited by any editor who belongs to one of the domains."
And, also:
"These limitations are due to the permissive nature of node_access()."
So, to solve this problem, I'm running this way:
- Use a CCK field to create a "publish" field that I use in each domain
- Use a View to show the content of each domain in the right way (the content for the domain)
- Use other view to show the content in front
I don't know if this approach is the best but is just what I can see to solve it. If someone have another idea and/or suggestions, I'm proud to hear.
Thanks and I'm sorry for this big post.
Comments
Hello, Answer: I don't have
Hello,
Answer: I don't have it. :)
However your post is interesting. Dealing with a lot of who has access to what, and who does what, when, and where, the following have helped me or sound slightly related to your goals:
I can't have multiple websites in one database due to the content being very different in each site, and think about this: If one website goes to hell, how do you fix it when its intermingled with all the other websites without making them go to hell? Just random thoughts I'm working through myself.
Hope that sparks something. :)
Best regards,
Chris
Worlds to explore. Worlds to create.
Blog: http://www.christopherstevens.cc/blog
Twitter: http://www.twitter.com/owntheweb
Thanks
Dear Chris,
Thank you for your help. I think that a mix of these solutions can make it. I'll try.
If someone have new ideas, go ahead.
Thanks