opensubscriber
   Find in this group all groups
 
Unknown more information…

j : jetspeed-user@jakarta.apache.org 21 April 2005 • 10:45PM -0400

Re: Security error(?) in editing psml
by Stefano Bianchi

REPLY TO AUTHOR
 
REPLY TO GROUP




The role is user!
But please consider I can not access the portlets from the admin psml editor
interface, not as stefano.

----- Original Message -----
From: "Archana Turaga" <Archana.Turaga@inte...>
To: "Jetspeed Users List" <jetspeed-user@jaka...>
Sent: Thursday, April 21, 2005 4:37 PM
Subject: RE: Security error(?) in editing psml


The other thing that can be checked is what role the stephano user got
assigned. If it is guest then obviously the portlets will not be
accessible since the access is only for user and admin. You can either
check the User browser to check what role the user is or check the
database.

-----Original Message-----
From: Archana Turaga [mailto:Archana.Turaga@inte...]
Sent: Thursday, April 21, 2005 5:16 AM
To: Jetspeed Users List
Subject: RE: Security error(?) in editing psml

Your problem is definitely related to the security-refs. Send your PSML
file and I can maybe take a look in my PSML editor here to see if there
are any problems. If possible your xreg definition too..

-----Original Message-----
From: Stefano Bianchi [mailto:stefano.bianchi@soft...]
Sent: Thursday, April 21, 2005 2:15 AM
To: Jetspeed Users List
Subject: Security error(?) in editing psml

Dear ALL,
I am using J1.5.
I have a file based management of psml.
For user stefano/stefano I have the following psml:

?xml version="1.0" encoding="iso-8859-1"?>
<portlets id="01">
    <metainfo>
        <description>No description found. Generic portlet</description>
        <title>My Home</title>
    </metainfo>
    <security-ref parent="user-view_admin-all"/>
    <layout position="-1" size="-1"/>
    <control name="TabControl"/>
    <controller name="TabController"/>
    <portlets id="P-1035fb3efea-10000">
        <metainfo>
            <title>Home</title>
        </metainfo>
        <security-ref parent="owner-only"/>
        <layout position="0" size="-1"/>
        <controller name="TwoColumns"/>
        <entry id="P-1035fb3efea-10001" parent="LoggedInWelcome">
            <layout position="-1" size="-1">
                <property name="column" value="0"/>
                <property name="row" value="0"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-10002"
parent="http://jakarta.apache.org/jetspeed/channels/jetspeed.rss">
            <layout position="-1" size="-1">
                <property name="column" value="1"/>
                <property name="row" value="1"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-10003" parent="BBCFrontPage">
            <layout position="-1" size="-1">
                <property name="column" value="1"/>
                <property name="row" value="4"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-10004"
parent="http://www.xmlhack.com/rsscat.php">
            <layout position="-1" size="-1">
                <property name="column" value="0"/>
                <property name="row" value="2"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-10005" parent="ForwardDemo">
            <layout position="-1" size="-1">
                <property name="column" value="1"/>
                <property name="row" value="5"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-10006" parent="HelloVelocity">
            <layout position="-1" size="-1">
                <property name="column" value="1"/>
                <property name="row" value="0"/>
            </layout>
            <parameter name="text" value="Hello World in Velocity"/>
            <parameter name="_display" value="normal"/>
        </entry>
        <entry id="P-1035fb3efea-10007" parent="DatabaseBrowserTest">
            <layout position="-1" size="-1">
                <property name="column" value="1"/>
                <property name="row" value="3"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-10008" parent="StockQuote">
            <layout position="-1" size="-1">
                <property name="column" value="0"/>
                <property name="row" value="1"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-10009"
parent="http://www.mozilla.org/news.rdf">
            <layout position="-1" size="-1">
                <property name="column" value="0"/>
                <property name="row" value="3"/>
            </layout>
        </entry>
        <entry id="P-1035fb3efea-1000a"
parent="http://jakarta.apache.org/jetspeed/channels/turbine.rss">
            <layout position="-1" size="-1">
                <property name="column" value="1"/>
                <property name="row" value="2"/>
            </layout>
        </entry>
    </portlets>
</portlets>

When I try to modify this psml from the admin editor, I can click on the
default.psml link, get the editor page when panels are shown but as soon
as
I click "save" or "Home" to modify the pane I get the message "You do
not
have access to these portlets".

I thought it was because of that owner-only security property for the
panel,
I changed it by editing the file, but I get the same.

Any hint?
Thank you
Stefano



Ing. Stefano Bianchi
Softeco Sismat S.p.A.
Via De Marini, 1 - WTC Tower
16149 Genoa (ITALY)
e-mail: stefano.bianchi@soft...
tel: +39 010 60.26.368
fax: +39 010 60.26.350



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jaka...
For additional commands, e-mail: jetspeed-user-help@jaka...


This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the
person(s) to whom it is addressed. Any use, copying, retention or
disclosure by any person other than the intended recipient or the
intended recipient's designees is strictly prohibited. If you are the
intended recipient, you must treat the information in confidence and in
accordance with all laws related to the privacy and confidentiality of
such information.  If you are not the intended recipient or their
designee, please notify the sender immediately by return e-mail and
delete all copies of this email, including all attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jaka...
For additional commands, e-mail: jetspeed-user-help@jaka...


This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the person(s)
to whom it is addressed. Any use, copying, retention or disclosure by any
person other than the intended recipient or the intended recipient's
designees is strictly prohibited. If you are the intended recipient, you
must treat the information in confidence and in accordance with all laws
related to the privacy and confidentiality of such information.  If you are
not the intended recipient or their designee, please notify the sender
immediately by return e-mail and delete all copies of this email, including
all attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jaka...
For additional commands, e-mail: jetspeed-user-help@jaka...




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jaka...
For additional commands, e-mail: jetspeed-user-help@jaka...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.