[opencms-dev] Publish on a specific site?

Chirouze Olivier olivier.chirouze at volvo.com
Fri Jul 25 11:17:36 CEST 2008


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/5917388d/attachment.htm>


More information about the opencms-dev mailing list