Hi Enrique,
One alternative that might work for you is to add a role named "projects".
Add this new role using the "Role Management" admin screen.
Then in the "page.security" file in the pages folder place this (just
before the final </page-security> tag):
<security-constraints-def name="projects">
<security-constraint>
<roles>projects</roles>
<permissions>view,edit</permissions>
</security-constraint>
</security-constraints-def>
Then in the "folder.metadata" file in the projects folder place this (just
before the final </folder> tag):
<security-constraints>
<security-constraints-ref>projects</security-constraints-ref>
</security-constraints>
Then restart tomcat so that jetspeed re-reads the pages.security contents.
This way nobody will see the projects folder unless they have role
"projects" attached to them. Except user "admin" which seems to always see
the projects folder. I don't know why this is.
That's my idea for you. I've not seen any "exclude" samples anywhere.
Steve.
-----Original Message-----
From: Enrique Perez [mailto:[EMAIL PROTECTED]
Sent: Monday, May 28, 2007 10:28 AM
To: Jetspeed Users List
Subject: Using EXCLUDE psml-tag in menus
Hi all,
I was wondering it it's possible to avoid a folder from appearing in
"navigations" menu. Maybe re-defining "navigations" menu and using the
"exclude" tag??
I've created a "projects" folder under "pages", but I don't want it to
appear in the "Folders" section of "navigations" menu.
I've only get success re-defining "navigations" this way:
<!-- standard navigations panel menu -->
<menu name="navigations">
<separator>Folders</separator>
<options regexp="true">./[a-oq-zA-Z][a-zA-Z]+/</options>
<include>page-navigations</include>
<separator>Additional Links</separator>
<options regexp="true">/*.link</options>
</menu>
That way, all folders that start with letter "p" are excluded... But I
don't like much this solution, since maybe in the future another folders
starting with "p" could be added...
Is there any easy way to keep
"<options regexp="true">./*/</options>"
and exclude "projects" from these options...
Any help appreciated.
Thanks in advance and regards,
Enrique
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]