You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Stefano Bianchi <st...@softeco.it> on 2005/04/21 09:15:20 UTC

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@softeco.it
tel: +39 010 60.26.368
fax: +39 010 60.26.350



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org