manage_renameObject in OrderedFolder
Hello 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 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
=?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?
If so, "cancel" the login and view the resulting error page and traceback. It should give you details on why "manage_renameObject" fails. We need such information in order to be able to assist you. Dieter
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
Bjørge Solli wrote:
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.
Look at the source for OrderedFolder?
Both Managers and "someotherrole" has permissions on View management screens !! (I've tried to enter these usernames/pwds in the login dialog.
That seems a silly permisison to protect these with :-(
(Object: oppgaver)
File /space/Zope/Zope-2.4.x/lib/python/AccessControl/SecurityManager.py, line 149, in validate
what type of object is 'oppgaver'? cheers, Chris
On Sat, 10 Aug 2002, Chris Withers wrote:
Bjørge Solli wrote:
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.
Look at the source for OrderedFolder?
yes. It is supposed to inherit the permissions..
Both Managers and "someotherrole" has permissions on View management screens !! (I've tried to enter these usernames/pwds in the login dialog.
That seems a silly permisison to protect these with :-(
(Object: oppgaver)
File /space/Zope/Zope-2.4.x/lib/python/AccessControl/SecurityManager.py, line 149, in validate
what type of object is 'oppgaver'?
DTMLMethod.
cheers,
Chris
-- 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
I fixed the ploblem by using manage_renameObjects (plural) instead. I know it should be possible to use the single version, but as long as it works, I'm happy! thanks for all help! regards Bjorge On Mon, 12 Aug 2002, Bjørge Solli wrote:
On Sat, 10 Aug 2002, Chris Withers wrote:
Bjørge Solli wrote:
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.
Look at the source for OrderedFolder?
yes. It is supposed to inherit the permissions..
Both Managers and "someotherrole" has permissions on View management screens !! (I've tried to enter these usernames/pwds in the login dialog.
That seems a silly permisison to protect these with :-(
(Object: oppgaver)
File /space/Zope/Zope-2.4.x/lib/python/AccessControl/SecurityManager.py, line 149, in validate
what type of object is 'oppgaver'?
DTMLMethod.
cheers,
Chris
-- 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
participants (3)
-
Bjørge Solli -
Chris Withers -
Dieter Maurer