[opencms-dev] Create group

Mark Belanger belanger at fluid.com
Sat May 1 02:54:02 CEST 2004


Thomas,

I think I spoke to soon.  My attempts failed spectacularly.  Can you 
walk me through a scenario?

Say a site has the following structure with default permissions:

Directory    Group  Permissions
-------------------------------
/site        User   rwvrwvrr-v-
  /about      User   rwvrwvrr-v-
  /contact    User   rwvrwvrr-v-
  /jobs       User   rwvrwvrr-v-
  /products   User   rwvrwvrr-v-

Let's say to you have two editors: a site wide editor called 
"site-editor," who can edit all sections and an editor only allowed to 
edit the "jobs" subsection called "jobs-editor."  Both would normally be 
classed as a "User."

As I understand your logic, I could create a new group called 
"JobsEditor" whose parent was "User."  By assigning "jobs-editor" to the 
"JobsEditor" group and changing the permissions like so:

Directory    Group       Permissions
------------------------------------
/site        User        rwvrwvrr---
  /about      User        rwvrwvrr---
  /contact    User        rwvrwvrr---
  /jobs       JobEditor   rwvrwvrrwv-
  /products   User        rwvrwvrr---

then "jobs-editor" would be able to only edit the "jobs" subsection. 
Meanwhile, "site-editor" would still be able to edit and section.

Is this correct?  I must be misunderstanding you, or this user/group 
relationship within OpenCMS is baffling.


Thanks very much,
MB

Thomas März wrote:
> Think the other way:
>       If a user is _not_ member of a new group, e. g. "MoreSpecific", 
>       he must not see folders with 
> 
>            Owner   Group         Permissions
>            tmaerz  MoreSpecific  rwvrwvr---   
> 
> 
> We now create a new group "Secret" as subgroup from "MoreSpecific" and
> we have two users - userMoreSpecific and userSecret.
> 
>         userMoreSpecific sees these folders:
> 
>            Owner   Group         Permissions
>            tmaerz  MoreSpecific  rwvrwvr---   
> 
> 
>         userSecret sees these folders:
> 
>            Owner   Group         Permissions
>            tmaerz  MoreSpecific  rwvrwvr---   
>            tmaerz  Secret        rwvrwvr---   
> 
>         a /normal/ user sees these folders:
> 
>            Owner   Group         Permissions
>            tmaerz  Users         rwvrwvr---   
> 
> 
> HTH
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> !DSPAM:4091e9bc47358683719064!
> 
> 

-- 
_______________________________________________________________________
Mark Belanger - belanger at fluid.com



More information about the opencms-dev mailing list