[opencms-dev] Workplace project bug? Need help pls

EdKpnPlanet e.doppenberg at kpnplanet.nl
Mon Dec 1 23:58:25 CET 2008


Hallo Nick,
                Probably ypu have missed last week my reply. But this is my understanding of the Opencms implementation of LDAP. 
                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.
When scanning the Opencms source, the online project is inhibited for the Organizational Units (OU) (see CmsDriverManager.java). It might be possible to change the role for each user. I did not try this.

To get the online projects selectable, the source (see CmsDriverManager.java) must be altered and you have to rebuild opencms.
 
regards Ed
  ----- Original Message ----- 
  From: Nick Straguzzi 
  To: opencms-dev at opencms.org 
  Sent: Monday, December 01, 2008 11:10 PM
  Subject: [opencms-dev] Workplace project bug? Need help pls


  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 greatly appreciate any assistance from the OpenCms developers or an expert who can help!

  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.

  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?  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?

  Regards,

  Nick Straguzzi
  Green Island Interactive / Credo Systems
  nick.straguzzi at credosystems.com




------------------------------------------------------------------------------
  From: Nick Straguzzi 
  Sent: Wednesday, November 26, 2008 8:27 PM
  To: 'opencms-dev at opencms.org'
  Subject: Need help with project visibility in Workplace / setting up OUs


  Short question:

  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.)

  Longer explanation

  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.

  o Two OUs (call them A and B)
  o Users and Groups set up in each OU (let's call the users "a_user" and "b_user"
  o "a_user" is a User and a Project Manager within OU "A"
  o etc.

  ...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.

  Everything else seems to work fine for my two OUs.  The project visibility problem is my last major hurdle.  This 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.

  Regards,

  Nick Straguzzi
  Green Island Interactive / Credo Systems
  nick.straguzzi at credosystems.com



------------------------------------------------------------------------------



  _______________________________________________
  This mail is sent to you from the opencms-dev mailing list
  To change your list options, or to unsubscribe from the list, please visit
  http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20081201/929a3779/attachment.htm>


More information about the opencms-dev mailing list