[opencms-dev] Publish on a specific site?

Schliemann, Kai K.Schliemann at comundus.com
Fri Jul 25 11:43:09 CEST 2008


Hi Olivier,
the publish button publishes resources which belong to the selected project / organizational unit. So what you need is either a project for each site or an OU (organizational unit) for each site.
 
HTH
Regards
Kai
_________________________________________
   
Kai Schliemann
Dipl.-Wirtschaftsingenieur (FH)
Senior IT-Berater, Produktmanager OpenCms
    
comundus GmbH
Schüttelgrabenring 3, D-71332 Waiblingen
Telefon +49 7151-50028-20
E-Mail k.schliemann at comundus.com
Internet www.comundus.com
 
Geschäftsführer Klaus Hillemeier  
Amtsgericht Stuttgart, HRB 264290
         
comundus ist ein Unternehmen der IT EXCELLENCE Group
_________________________________________
 

________________________________

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Chirouze Olivier
Gesendet: Freitag, 25. Juli 2008 11:18
An: The OpenCms mailing list
Betreff: [opencms-dev] Publish on a specific site?



Hi list, 

There's something I just discovered on OpenCms (these things happen everyday, which is great ;-). That thing surprises me and annoys me!

It seems if you click the nice "publish" button, that will publish resources for ** all sites your have permissions on **.

I don't understand then what's the point to have multiple sites if you won't publish only the site you are working on. 

If I'm not clear, let me give you a small scenario: 
- I created sites A & B (added directory, added to opencms-system.xml, restarted) 
- created groups G_A & G_B 
- each directory is only allowed for its group (permissions) 
=> so you need to be affected to group G_A to have rights on site A, same for B. 
- if the user is in group A only, he selects site A, click publish => only site A is published (that's perfect) 
- but if the user is in both groups, selects site A, click publish => resources from site A & B are published. 

That's not the behaviour I would like to have. I think whenever you choose a specific site, that should become the scope you work on. A click on publish should publish resources for that scope only, even though you have the rigths to work on other projects.

Am I missing a configuration parameter? Does it seem logical to you? 

The goal is to have a list of "sites" with associated groups. Publisher work only on their sites. A publisher can be allowed on multiple sites but will work on one site at a time. I thought sites + groups was the perfect solution but I had this bad surprise. Am I choosing a wrong solution?

Thanks! 

Olivier 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080725/34e72ebc/attachment.htm>


More information about the opencms-dev mailing list