|
Subject: Re: Publish on a specific site? Newsgroups: gmane.comp.cms.opencms.devel Date: 2008-07-28 10:06:46 GMT (5 weeks, 5 days, 21 hours and 50 minutes ago)
Hi Olivier,
>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!
>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.
>
>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
/sites/APPLICATION_A as a resource, I would like /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.
>
>Any idea
on how I could solve that *last*
issue?
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.
Regards
Kai
Von: opencms-dev-bounces <at> opencms.org
[mailto:opencms-dev-bounces <at> opencms.org] Im Auftrag von Chirouze
Olivier
Gesendet: Montag, 28. Juli 2008 10:44 An: The OpenCms mailing list Betreff: Re: [opencms-dev] Publish on a specific site? Hi Kai,
Thanks for your interesting reply. I went for the "project"
solution and here's how I did:
Created groups:
GROUP_A GROUP_B
Created directories:
/sites/APPLICATION_A => only allowed for group
GROUP_A
/sites/APPLICATION_B => only allowed for group
GROUP_B Created projects:
PROJECT_A => resource = /sites/APPLICATION_A - manager & user group =
GROUP_A
PROJECT_B =>
resource = /sites/APPLICATION_B - manager & user group =
GROUP_B
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!
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.
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 /sites/APPLICATION_A as a resource, I would like
/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.
Any idea on how I could solve that *last*
issue?
By the way, adding a project is much simpler than
adding a site, which is great
![]() Thanks
Olivier
Olivier
CHIROUZE
_______________________________________________ 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 |
|
|