[Zope] manage_renameObject in OrderedFolder

Bjørge Solli Bjørge Solli
Thu, 8 Aug 2002 10:38:26 +0200 (CEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1316925168-1195502497-1028795906=:13207
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Wed, 7 Aug 2002, Dieter Maurer wrote:

> =?ISO-8859-1?Q?Bj=F8rge_Solli?= writes:
>  > I can't figure out what security permissions is needed to use 
>  > manage_renameObject in an OrderedFolder. Shouldn't it be the same as in 
>  > Folder? For me it isn't!!??! DocFinderEverywhere says a Manager can use 
>  > it, but even that doesn't work!
>  > 
>  > I use Zope 2.4.1 (cannot upgrade easily bcs things stop working in Z2.5.1)
>  > OprderedFolder 0.5.1
> You get a Login Dialog?

Yes.

> If so, "cancel" the login and view the resulting error page and traceback.
> It should give you details on why "manage_renameObject" fails.

File enclosed with traceback.

Both Managers and "someotherrole" has permissions on 
View management screens !!
(I've tried to enter these usernames/pwds in the login dialog.

Hope someone can help!

regards
Bjorge
-- 
http://www.lstud.ii.uib.no/~s0182/smile/Smiles
--
Bjørge Solli - Universitas Bergensis, Norway
mailto:Bjorge@Kvarteret.no icq#29210281 MSN:bobelloco@hotmail.com
Møllendalsv.19, 5009 Bergen, Norway tel:55202853/91614343

---1316925168-1195502497-1028795906=:13207
Content-Type: TEXT/plain; name="errorOrderedFolder.txt"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.44.0208081038260.13207@oljetre.ii.uib.no>
Content-Description: Error
Content-Disposition: attachment; filename="errorOrderedFolder.txt"

PFRBQkxFIEJPUkRFUj0iMCIgV0lEVEg9IjEwMCUiPg0NCjxUUiBWQUxJR049
IlRPUCI+DQ0KDQ0KPFREIFdJRFRIPSIxMCUiIEFMSUdOPSJDRU5URVIiPg0N
CiZuYnNwOw0NCjwvVEQ+DQ0KDQ0KPFREIFdJRF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