Re: [Zope] Set access rule

2000-09-27 Thread Mario Olimpio de Menezes

On Tue, 26 Sep 2000, Martijn Pieters wrote:

 
 Looking over your mail again, it seems that there is already an AccessRule
 registered, but it is of the wrong type. You can't remove it with the Add
 interface, because that triggers the error.

how could it happens? I did a fresh install of zope 2.2.1! I purged the
entire directory tree (/usr/lib/zope) before installing!

[]s,
Mario O.de Menezes"Many are the plans in a man's heart, but
IPEN-CNEN/SP is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario Prov. 19.21
   http://www.revistalinux.com.br



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Set access rule

2000-09-26 Thread mario

Quoting Martijn Pieters [EMAIL PROTECTED]:

 On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes
 wrote:
  I did an upgrade last week, from zope 2.1.6 to 2.2.1, using
  Debian packages.
  Almost everything was correct, but site access no longer works.
 
 Zope 2.2 requires SiteAccess 2 to work. 

Well, 
I forgot to say that, but of course, I'm using SiteAccess 2.
Any other suggestion?
Thanks!

[]s
Mario O.de Menezes"Many are the plans in a man's heart, but
IPEN-CNEN/SP is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario Prov. 19.21
   http://www.revistalinux.com.br

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Set access rule

2000-09-26 Thread Martijn Pieters

On Tue, Sep 26, 2000 at 03:55:58PM -0300, [EMAIL PROTECTED] wrote:
 Quoting Martijn Pieters [EMAIL PROTECTED]:
 
  On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes
  wrote:
 I did an upgrade last week, from zope 2.1.6 to 2.2.1, using
   Debian packages.
 Almost everything was correct, but site access no longer works.
  
  Zope 2.2 requires SiteAccess 2 to work. 
 
 Well, 
   I forgot to say that, but of course, I'm using SiteAccess 2.
   Any other suggestion?
   Thanks!

Looking over your mail again, it seems that there is already an AccessRule
registered, but it is of the wrong type. You can't remove it with the Add
interface, because that triggers the error.

Instead, you'll have to do this in your Zope root directory (I am assuming
that the MOnitor client is running at it's default port of 8099):

cat access
# copy everything after the first ':'. This is your monitor password.

python ZServer/medusa/monitor_client.py localhost 8099
# paste the monitor password

import Zope
from Products.SiteAccess.AccessRule import manage_addAccessRule
app=Zope.app()
manage_addAccessRule(app)
get_transaction().commit()

The Access Rule is now cleared.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Set access rule

2000-09-25 Thread Martijn Pieters

On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes wrote:
   I did an upgrade last week, from zope 2.1.6 to 2.2.1, using
 Debian packages.
   Almost everything was correct, but site access no longer works.

Zope 2.2 requires SiteAccess 2 to work. 

SiteAccess 1 will not work with Zope 2.2, but unfortunately the Debian
package for SiteAccess 1 doesn't list this restriction. This is probably
due to Debian policy not to allow changes to packages in stable releases
unless it is a security fix.

You can download a Debian package of SiteAccess 2 from 

  http://www.debian.org/Packages/unstable/web/zope-siteaccess.html

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Set Access Rule wish

2000-09-06 Thread Albert Boulanger

Its nice that the icon for the  method, who is the access rule's target,
is changed.
However, I think also there needs to be some indicator on the folder
involved as well. Over the long weekend, I had accidentally set an
access rule (for URL-based SQLSession ID) in the proper folder and also
a subfolder (to the same method). Took me several days to discover that
other access rule had been set in the subfolder. When your you have
mistakes with this kind of stuff, I  can be madding and any kind of
indicators would be useful.

Regards,
Albert Boulanger
[EMAIL PROTECTED]











___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )