<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3429" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hallo Nick,</FONT></DIV>
<DIV>
Probably ypu have missed last week my reply. But this is my understanding
of the Opencms implementation of LDAP. </DIV>
<DIV><FONT face=Arial
size=2>
If I understand the LDAP philosophy used in Opencms correctly, is is
assumed that only users with Root OU role have full access to all projects.
Thus including the online project.</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>When scanning the Opencms source, the online
project is inhibited for the Organizational Units (OU) (see <FONT
color=#3f7f5f>CmsDriverManager.java</FONT><FONT color=#000000>). It might
be possible to change the role for each user. I did not try
this.</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>To get the online projects selectable, the source (see <FONT
color=#3f7f5f>CmsDriverManager.java</FONT>) must be altered and you have to
rebuild opencms.</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>regards Ed</FONT></DIV></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=nick.straguzzi@credosystems.com
href="mailto:nick.straguzzi@credosystems.com">Nick Straguzzi</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, December 01, 2008 11:10
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Workplace project
bug? Need help pls</DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008>Hello - I sent this message last week but have heard
no reply from anyone on the mailing list. This is really a very urgent
problem for our clients and I would <STRONG>greatly</STRONG> appreciate any
assistance from the OpenCms developers or an expert who can
help!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008>Once again, the issue pertains to the Project DDLB in
the Workplace. When I set up a user in an Organizational Unit in OpenCms
7.05, the DDLB contains the list of all offline projects but not the standard
"online" project. Without that, there is no way for our clients to see
what their website currently looks like.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008>I've tried to trace the issue in the source code, and
it does appear that in CmsFrameset.getProjectSelect(), the online project will
not be added to the DDLB because it technically "belongs" to the global space,
not any particular OU. So when the code retrieves and loops through all
projects for an OU user, "online" will not be added. Is this the desired
behavior or a bug? Is there a way to configure the online project to
appear in any OU project list? Am I overlooking something
important? </SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008>Most importantly, if this is indeed a bug, would
it be possible for me to get a patched version of the relevant JAR
branch (7.0.5) ASAP, so that we can roll out our client's new
website?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008>Nick Straguzzi</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008>Green Island Interactive / Credo
Systems</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008><SPAN class=545321401-27112008><A
href="mailto:nick.straguzzi@credosystems.com">nick.straguzzi@credosystems.com</A></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=031314721-01122008></SPAN></FONT> </DIV><FONT face=Arial
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT
face=Arial color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Nick Straguzzi <BR><B>Sent:</B>
Wednesday, November 26, 2008 8:27 PM<BR><B>To:</B>
'opencms-dev@opencms.org'<BR><B>Subject:</B> Need help with project visibility
in Workplace / setting up OUs<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>Short
question:</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>When I set up a
new user in an Organizational Unit (OU) in OpenCms 7.0.5 (each OU
corresponding to a different Site on my single OpenCms server instance), my
users do NOT see the "online" project listed in the Project DDLB in the
Workplace. The only option they see is "Offline". (But, my Admin
user does see both Online and Offline, even if I switch from one Site to
another.)</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>Longer
explanation</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>I'm an experienced
OpenCms user, but my current project marks the first time I am setting up
multiple Organizational Units for multiple websites hosted on the same
server. I have done everything correctly (I think) according to the
instructions found in the Wiki plus various online help
sites.</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>o Two OUs (call
them A and B)</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>o Users and Groups
set up in each OU (let's call the users "a_user" and
"b_user"</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>o "a_user" is a
User and a Project Manager within OU "A"</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>o
etc.</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>...but, when I log
on as a_user in the Workplace, the only project listed in the Projects DDLB is
"Offline". (Presumably, this is the Offline Project that was
automatically set up when I created OU "A"). I don't have an "online"
project; thus I can't view the actual published copy of Site "A" without going
into the History for each file. Obviously, this isn't going to make my
customers happy. The same thing happens when I log in as "b_user".
But if I login as the Admin, there are no problems - I see both "online" and
"offline") Even if I set "a_user" up with full admin rights within
his OU, I still see only one project in the DDLB.</FONT></SPAN></DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=545321401-27112008><FONT face=Arial size=2>Everything else
seems to work fine for my two OUs. The project visibility problem is my
last major hurdle. </FONT></SPAN><FONT face=Arial><FONT size=2>T<SPAN
class=545321401-27112008>his is a very urgent problem, and I am sure I am
doing something silly wrong, but I cannot figure out what it is. Much
thanks in advance.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=545321401-27112008></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=545321401-27112008>Regards,</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=545321401-27112008></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=545321401-27112008>Nick
Straguzzi</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=545321401-27112008>Green Island
Interactive / Credo Systems</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=545321401-27112008><A
href="mailto:nick.straguzzi@credosystems.com">nick.straguzzi@credosystems.com</A></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=545321401-27112008></SPAN></FONT></FONT> </DIV>
<P>
<HR>
<P></P><BR>_______________________________________________<BR>This mail is
sent to you from the opencms-dev mailing list<BR>To change your list options,
or to unsubscribe from the list, please
visit<BR>http://lists.opencms.org/mailman/listinfo/opencms-dev</BLOCKQUOTE></BODY></HTML>