Check the mailing list, but it's quite easy: if you want i.e. your user to
customize and view only, define a mysecurity.xreg file in
jetspeed\WEB-INF\conf:
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<security-entry name="user-customize-and-view_admin-all">
<meta-info>
<title>UserCustomize</title>
<description>Users customize, admin all</description>
</meta-info>
<access action="*">
<allow-if role="admin"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
</access>
<access action="view">
<allow-if role="user"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
</access>
<access action="customize">
<allow-if role="user"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
</access>
</security-entry>
</registry>
If you want user only to view, remove the lines relative to customize, or
add other options looking at the other security.xreg files!
Hope it helps
Stefano
----- Original Message -----
From: "Flo�mann Christoph" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Friday, June 11, 2004 1:38 PM
Subject: RE: Re: Deactivate/hide printer-button
Is there any tutorial on how to define your own security IDs?
-----Original Message-----
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 1:35 PM
To: Jetspeed Users List
Subject: Re: Re: Deactivate/hide printer-button
Rather than deleting, why don't you define a proper security and use it as
administration to customize the portlet?
Of you delete the template, all other portlets won't have customization
tools, administration included!
Bye
Stefano
----- Original Message -----
From: "Hans Wurst" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, June 09, 2004 9:39 PM
Subject: AW: Deactivate/hide printer-button
> open the vm and delete 'em.
>
> regards
>
>
> -----Ursprungliche Nachricht-----
> Von: Remo Waller [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 9. Juni 2004 19:02
> An: 'Jetspeed Users List'
> Betreff: Deactivate/hide printer-button
>
>
> Hi,
>
> Does anybody know, how i can deactivate the buttons in the right top
corner
> of each portlet.
> For instance, I don't want to see the the printer- and the info-button
(i).
>
> Thank for an advise
>
> Remo waller
>
>
> ---------------------------------------------------------------------
> 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]
>
>
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]