You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tring to rename an object, if the current user didn't have edit permission on the parent folder the plone.shortname behavior did not catch the exeption raised:
`Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module plone.z3cform.layout, line 63, in __call__
Module plone.z3cform.layout, line 47, in update
Module plone.dexterity.browser.edit, line 58, in update
Module plone.z3cform.fieldsets.extensible, line 65, in update
Module plone.z3cform.patch, line 30, in GroupForm_update
Module z3c.form.group, line 145, in update
Module plone.app.z3cform.csrf, line 22, in execute
Module z3c.form.action, line 98, in execute
Module z3c.form.button, line 315, in __call__
Module z3c.form.button, line 170, in __call__
Module plone.dexterity.browser.edit, line 30, in handleApply
Module z3c.form.group, line 116, in applyChanges
Module z3c.form.group, line 82, in applyChanges
Module z3c.form.form, line 51, in applyChanges
Module z3c.form.datamanager, line 91, in set
Module plone.app.dexterity.behaviors.id, line 59, in _set_id
Module plone.folder.ordered, line 208, in manage_renameObject
Module OFS.CopySupport, line 358, in manage_renameObject
Module plone.dexterity.content, line 230, in _verifyObjectPaste
Module Products.CMFCore.PortalFolder, line 407, in _verifyObjectPaste
Module OFS.CopySupport, line 532, in _verifyObjectPaste
CopyError:
<HTML>
<HEAD>
<TITLE>Insufficient Privileges</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="manage_main" METHOD="GET" >
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="10">
<TR>
<TD VALIGN="TOP">
<BR>
<CENTER><B><FONT SIZE="+6" COLOR="#77003B">!</FONT></B></CENTER>
</TD>
<TD VALIGN="TOP">
<BR><BR>
<CENTER>
You do not possess the Add portal content permission in the context of the container into which you are pasting, thus you are not able to perform this operation.
</CENTER>
</TD>
</TR>
<TR>
<TD VALIGN="TOP">
</TD>
<TD VALIGN="TOP">
<CENTER>
<INPUT TYPE="SUBMIT" VALUE=" Ok ">
</CENTER>
</TD>
</TR>
</TABLE>
</FORM>
</BODY></HTML>`
should be raised an Unauthorized Exception and show the relative page.
To reproduce the error:
create a Plone Site
create a simple user
create an object and share the edit permission on the user added in the previous step.
loggin with the user and edit the object and try to rename it via the short name field
The text was updated successfully, but these errors were encountered:
affected Plone<=5.2.x
should be raised an Unauthorized Exception and show the relative page.
To reproduce the error:
create a Plone Site
create a simple user
create an object and share the edit permission on the user added in the previous step.
loggin with the user and edit the object and try to rename it via the short name field
The text was updated successfully, but these errors were encountered: