additional info:

in toolbox.jsp the variable editAccess is false...

I had no idea and set it temporality to true. But the next Problem occurs. Because userInAdminRole is false too. It will not remove the clone-Link, but my add-Link.

clone.all("a").item(1).remove();

I think you have to check if item size is three and than remove second index.


Am 17.10.2011 09:25, schrieb Frank Otto:
hi,

thanks for your answer.

I have checked the toolbox.jsp. If the user has no admin role, the "clone"-button will not be shown.

For the "add"-button you need edit access. I have defined in jetspeed-portlet.xml following security constraint:

<portlet>
<portlet-name>JetspeedToolbox</portlet-name>
<js:security-constraint-ref>user-edit</js:security-constraint-ref>
</portlet>

But the I don't see it. :-( Any idea?


best regards,

Frank

Am 14.10.2011 09:59, schrieb David Taylor:
On Thu, Oct 13, 2011 at 6:48 AM, Frank Otto<o...@delta-barth.de>  wrote:
hi,

I see available portlets in toolbox, but the button "add" is not shown. Only
buttons "preview" and "clone" was shown.

How can I disable the clone-button?

There doesn't seem to be a configurable way to do this short of
editing the jsp and removing it

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to