but get an authentication challenge that I can not pass. Is there something special about sql updates?
I haven't used SQL in Zope but I experienced the same thing, an authentication request that cannot be satisfied even by the superuser account. For me I found that it happened when I was in a particular dtml-with block and I referred to the id property of the current object. I changed my <dtml-var id> to <dtml-var title_or_id> and the problem went away. I think there may be a bug in Zope regarding accessing the id properties of certain objects. I hope this is some use to you, it may be that you have a completely different problem though. I would be interested to hear the outcome once you get it working and work out what the problem was. Good luck Alex ================================== Alex Bowyer IT Contractor, Logica Australasia Tel : +61 2 9202 8130 Fax : +61 2 9922 7466 E-mail : bowyera@logica.com WWW : http://www.logica.com.au/ ==================================
+-------[ Bowyer, Alex ]---------------------- | > but get an authentication challenge that I can not pass. | > Is there something special about sql updates? You don't have 'permissions' to an update, this is a ZSQL perms problem. You might need to give your update method a 'proxy' role to fix it. I thought this was fixed some time ago, do you have some particularly ancient version of Zope ? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
On Mon, 6 Nov 2000 11:20:12 +1000 Andrew Kenneth Milton <akm@mail.theinternet.com.au> wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro* +-------[ Bowyer, Alex ]---------------------- | > but get an authentication challenge that I can not pass. | > Is there something special about sql updates?
You don't have 'permissions' to an update, this is a ZSQL perms problem. You might need to give your update method a 'proxy' role to fix it.
I thought this was fixed some time ago, do you have some particularly ancient version of Zope ?
Using 2.1.3. Is this considered ancient? I have a work round, and now find what I was trying to do has not succeeded in speeding up my queries :-( -- Graham Chiu
+-------[ Graham Chiu ]---------------------- | | > You don't have 'permissions' to an update, this is a ZSQL | > perms problem. | > You might need to give your update method a 'proxy' role | > to fix it. | > | > I thought this was fixed some time ago, do you have some | > particularly | > ancient version of Zope ? | | Using 2.1.3. Is this considered ancient? I would say yes at this stage. I wouldn't recommend any release below 2.2 any more, and 2.3 is coming RSN. While in terms of elapsed time it's not that long, web technology is moving pretty quick, and 2.2 closes some large security holes. | I have a work round, and now find what I was trying to do | has not succeeded in speeding up my queries :-( That's a bummer. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
participants (3)
-
Andrew Kenneth Milton -
Bowyer, Alex -
Graham Chiu