Hi all,
I have an entry like this in security.xreg:
<security-entry name="user-view_admin-all">
<meta-info>
<title>user+V and Admin+C</title>
<description>user can view and Admin have full access.</
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="maximize">
<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="minimize">
<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="print_friendly">
<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>
Remember to update your portlet entry with :
<security-ref parent="user-view_admin-all"/>
Bye
Luca Forni
Raffaele Ragni
<raffaeleragni.je To: Jetspeed Users List <[EMAIL
PROTECTED]>
[EMAIL PROTECTED]> cc:
Subject: Re: Porttlet action
22/07/2003 15.00
Please respond to
"Jetspeed Users
List"
Il mar, 2003-07-22 alle 13:51, ihepda ha scritto:
> Ok,
> but how can I view the printable action?
>
> thank's for the response
>
> Claudio
Other than setting the print permission with all the others i don't
know...
> ---------- Initial Header -----------
>
> >From : Raffaele Ragni
> To : Jetspeed Users List
> Cc :
> Date : 22 Jul 2003 11:31:11 +0200
> Subject : Re: Porttlet action
>
> > Il mar, 2003-07-22 alle 08:48, ihepda ha scritto:
> > > Hi,
> > > I don't understand how can I modify the portlet action (maximize,
minimize, close, ecc...) permissions.
> > >
> > > I've an user "perelli" in the role "tecno-admin". I've modified the
role permission disabling the close and info but notting.
> > >
> > > I've inserted a new security "tecno" with enabled all action except
the close and the info but the print isn't viewed.
> > >
> > > At what is used the role permission?
> > >
> > > There is a document that explain this? (I've read the tutorial yet).
> > >
> > > Thank's
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail:
[EMAIL PROTECTED]
> > >
> > >
> >
> > Those permissions (in the database) aren't used as far as i know.
> > You can define a new 'security' type on security.xreg, and then use
that
> > one when modifying psml (if i remember right only admin can set that)
> > Or just modifying the default one. It did work for me..
> >
> > ---------------------------------------------------------------------
> > 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]