<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Publish on a specific site?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=857445309-28072008><FONT face=Arial
color=#0000ff size=2>Hi Olivier,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=857445309-28072008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=857445309-28072008>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN>That way, a user in GROUP_A will only see
project "PROJECT_A" in the combo list and only APPLICATION_A directory. When he
publishes, he only publishes on that directory, which is
fine!</FONT></FONT></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><SPAN class=882552908-28072008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN></FONT></FONT></FONT></SPAN></SPAN>Also,
another important thing is that if he is in GROUP_A and GROUP_B, he would still
publish only in one directory at a time.</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><SPAN class=882552908-28072008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN></FONT></FONT></FONT></SPAN></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><SPAN class=882552908-28072008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN></FONT></FONT></FONT></SPAN></SPAN>The only
drawback I see now, is that in the later case (affected to multiple groups), the
user will have to switch BOTH project AND directory to "activate" a different
site. Since PROJECT_A has only <SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN></FONT></FONT></FONT></SPAN></SPAN>directory
<SPAN class=882552908-28072008><FONT face=Arial color=#0000ff
size=2>/sites/APPLICATION_A as a resource, I would like <SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff
size=2>/sites/APPLICATION_B to be invisible when you select PROJECT_A. Today,
the directory is greyed and even though you cannot upload or modify a <SPAN
class=882552908-28072008><SPAN class=882552908-28072008><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN></FONT></FONT></FONT></SPAN></SPAN>file
(fortunately), it is still error-prone and users might get a bit confused. Not a
major thing, though.</FONT></SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN></FONT></FONT></FONT></SPAN></SPAN></SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=857445309-28072008>></SPAN></FONT></FONT></FONT></SPAN></SPAN>Any idea
on how I could solve that *last*
issue?</SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008></SPAN></FONT></SPAN></FONT></SPAN></SPAN> </DIV></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=857445309-28072008><FONT face=Arial
color=#0000ff size=2>Unfortunately I haven't. I had the same issue several times
as well. I assume you need to "hack" the opencms core to get what you
want.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=857445309-28072008><FONT face=Arial
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=857445309-28072008><FONT face=Arial
color=#0000ff size=2>Kai</FONT></SPAN><BR></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>Im Auftrag von </B>Chirouze
Olivier<BR><B>Gesendet:</B> Montag, 28. Juli 2008 10:44<BR><B>An:</B> The
OpenCms mailing list<BR><B>Betreff:</B> Re: [opencms-dev] Publish on a specific
site?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>Hi Kai,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>Thanks for your interesting reply. I went for the "project"
solution and here's how I did:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008></SPAN><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>Created groups:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>GROUP_A</FONT></SPAN></DIV></SPAN></DIV>
<DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>GROUP_B</FONT></SPAN></DIV></DIV></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>Created directories:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>/sites/APPLICATION_A => only allowed for group
GROUP_A</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>/sites/APPLICATION_B => only allowed for group
GROUP_B</FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>Created projects:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><FONT face=Arial
color=#0000ff size=2>PROJECT_A => resource = <SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff
size=2>/sites/</FONT></SPAN>APPLICATION_A - manager & user group =
GROUP_A</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2>PROJECT_B =>
resource = <SPAN class=882552908-28072008><FONT face=Arial color=#0000ff
size=2>/sites/</FONT></SPAN>APPLICATION_B - manager & user group =
GROUP_B</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2>That way, a user
in GROUP_A will only see project "PROJECT_A" in the combo list and only
APPLICATION_A directory. When he publishes, he only publishes on that directory,
which is fine!</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2>Also, another
important thing is that if he is in GROUP_A and GROUP_B, he would still publish
only in one directory at a time.</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2>The only drawback
I see now, is that in the later case (affected to multiple groups), the user
will have to switch BOTH project AND directory to "activate" a different site.
Since PROJECT_A has only directory <SPAN class=882552908-28072008><FONT
face=Arial color=#0000ff size=2>/sites/APPLICATION_A as a resource, I would like
<SPAN class=882552908-28072008><FONT face=Arial color=#0000ff
size=2>/sites/APPLICATION_B to be invisible when you select PROJECT_A. Today,
the directory is greyed and even though you cannot upload or modify a file
(fortunately), it is still error-prone and users might get a bit confused. Not a
major thing, though.</FONT></SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008></SPAN></FONT></SPAN></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008>Any idea on how I could solve that *last*
issue?</SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008></SPAN></FONT></SPAN></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008>By the way, adding a project is much simpler than
adding a site, which is great
;-)</SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008></SPAN></FONT></SPAN></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008>Thanks</SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008></SPAN></FONT></SPAN></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=882552908-28072008><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008><FONT face=Arial color=#0000ff size=2><SPAN
class=882552908-28072008>Olivier</SPAN></FONT></SPAN></FONT></SPAN></SPAN></DIV></DIV><!-- Converted from text/rtf format -->
<P><B><SPAN lang=fr><FONT face=Verdana color=#400040 size=1>Olivier
CHIROUZE<BR></FONT></SPAN></B><SPAN lang=fr><I><FONT face=Verdana color=#000000
size=1>I&0 Infrastructure</FONT></I></SPAN> <BR><SPAN lang=fr><B><FONT
face=Verdana color=#0000ff size=1>Volvo Information Technology</FONT></B></SPAN>
</P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Schliemann,
Kai<BR><B>Sent:</B> 25 July 2008 11:43<BR><B>To:</B> The OpenCms mailing
list<BR><B>Subject:</B> Re: [opencms-dev] Publish on a specific
site?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=978234009-25072008><FONT face=Arial
color=#0000ff size=2>Hi Olivier,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=978234009-25072008><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=978234009-25072008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=978234009-25072008><FONT face=Arial
color=#0000ff size=2>HTH</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=978234009-25072008><FONT face=Arial
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=978234009-25072008><FONT face=Arial
color=#0000ff size=2>Kai</FONT></SPAN></DIV>
<DIV align=left><FONT size=2>
<DIV><SPAN class=855581417-08012008></SPAN></DIV>
<DIV><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=240155113-07122007><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=240155113-07122007><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><FONT color=#000000><FONT size=2><SPAN
class=428101914-07122007>
<DIV><SPAN class=428101914-07122007><FONT size=1><FONT color=#ff7f00><SPAN
class=888013014-07122007></SPAN></FONT></FONT></SPAN></DIV><FONT color=#ff7f00
size=1><SPAN
class=428101914-07122007></SPAN></FONT></SPAN></FONT></FONT></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV align=left><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=240155113-07122007><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=240155113-07122007><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><FONT color=#000000><FONT size=2><SPAN
class=428101914-07122007><FONT color=#ff7f00 size=1><SPAN
class=428101914-07122007></SPAN></FONT></SPAN><FONT color=#ff7f00><FONT
size=1><SPAN
class=428101914-07122007></SPAN></FONT></FONT></FONT></FONT></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><FONT color=#000000><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(255,127,0); FONT-FAMILY: Arial"><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007><SPAN class=088335712-07122007><SPAN
class=088335712-07122007>________________________<SPAN
class=428101914-07122007>___</SPAN>_____________<SPAN
class=428101914-07122007>_</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV class=Section1>
<DIV>
<DIV class=Section1>
<DIV class=Section1>
<DIV class=Section1>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007>
</SPAN></FONT></DIV>
<DIV><SPAN class=088335712-07122007><STRONG><SPAN
class=855581417-08012008><FONT color=#808080>Kai
Schliemann</FONT></SPAN></STRONG></SPAN></DIV>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007><SPAN
class=855581417-08012008>Dipl.-Wirtschaftsingenieur
(FH)</SPAN></SPAN></FONT></DIV>
<DIV><SPAN class=088335712-07122007><FONT color=#808080 size=1><SPAN
class=855581417-08012008>Senior IT-Berater, Produktmanager
OpenCms</SPAN></FONT></SPAN></DIV>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007><SPAN
class=240155113-07122007> </SPAN></SPAN></FONT></DIV>
<DIV><FONT color=#808080 size=1><SPAN
class=088335712-07122007><STRONG>comundus GmbH</STRONG></SPAN></FONT></DIV>
<DIV><FONT color=#808080><FONT size=1><SPAN
class=088335712-07122007>Schüttelgrabenring 3, <SPAN
class=240155113-07122007>D-</SPAN></SPAN></FONT><FONT size=1><SPAN
class=088335712-07122007>71332 Waiblingen</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=088335712-07122007><FONT color=#808080><FONT size=1>Telefon
+49 7151-50028-<SPAN
class=855581417-08012008>20</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=088335712-07122007>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007>E-Mail <SPAN
class=855581417-08012008>k.schliemann</SPAN>@comundus.com</SPAN></FONT></DIV>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007>Internet
www.comundus.com</SPAN></FONT></DIV></SPAN></DIV>
<DIV><SPAN class=088335712-07122007><FONT
color=#808080></FONT></SPAN> </DIV>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007><SPAN
class=240155113-07122007></SPAN></SPAN></FONT></DIV>
<DIV><FONT size=1><SPAN class=088335712-07122007><FONT
color=#808080>Geschäftsführer Klaus Hillemeier <SPAN
class=528321013-07122007> </SPAN></FONT></SPAN></FONT></DIV>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007>Amtsgericht
Stuttgart, HRB 264290</SPAN></FONT></DIV>
<DIV><SPAN class=088335712-07122007><SPAN class=240155113-07122007><FONT
color=#808080 size=1>
</FONT></SPAN></SPAN></DIV>
<DIV><FONT color=#808080 size=1><SPAN class=088335712-07122007>comundus ist
ein Unternehmen der IT EXCELLENCE Group</SPAN></FONT></DIV>
<DIV><SPAN class=088335712-07122007><SPAN
class=088335712-07122007>________________________<SPAN
class=428101914-07122007>___</SPAN>_____________<SPAN
class=428101914-07122007>_</SPAN></SPAN></SPAN></SPAN></DIV></DIV></DIV></DIV></DIV></DIV></FONT></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>Im Auftrag von </B>Chirouze
Olivier<BR><B>Gesendet:</B> Freitag, 25. Juli 2008 11:18<BR><B>An:</B> The
OpenCms mailing list<BR><B>Betreff:</B> [opencms-dev] Publish on a specific
site?<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi list,</FONT> </P>
<P><FONT face=Arial size=2>There's something I just discovered on OpenCms
(these things happen everyday, which is great ;-). That thing surprises me and
annoys me!</FONT></P>
<P><FONT face=Arial size=2>It seems if you click the nice "publish" button,
that will publish resources for ** all sites your have permissions on
**.</FONT></P>
<P><FONT face=Arial size=2>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.</FONT>
</P>
<P><FONT face=Arial size=2>If I'm not clear, let me give you a small
scenario:</FONT> <BR><FONT face=Arial size=2>- I created sites A & B
(added directory, added to opencms-system.xml, restarted)</FONT> <BR><FONT
face=Arial size=2>- created groups G_A & G_B</FONT> <BR><FONT face=Arial
size=2>- each directory is only allowed for its group (permissions)</FONT>
<BR><FONT face=Arial size=2>=> so you need to be affected to group G_A to
have rights on site A, same for B.</FONT> <BR><FONT face=Arial size=2>- if the
user is in group A only, he selects site A, click publish => only site A is
published (that's perfect)</FONT> <BR><FONT face=Arial size=2>- but if the
user is in both groups, selects site A, click publish => resources from
site A & B are published.</FONT> </P>
<P><FONT face=Arial size=2>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.</FONT></P>
<P><FONT face=Arial size=2>Am I missing a configuration parameter? Does it
seem logical to you?</FONT> </P>
<P><FONT face=Arial size=2>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?</FONT></P>
<P><FONT face=Arial size=2>Thanks!</FONT> </P>
<P><FONT face=Arial size=2>Olivier</FONT> </P></BLOCKQUOTE></BODY></HTML>