[zope2-tracker] [Bug 463454] [NEW] Unauthorised manage_page_header

Tres Seaver tseaver at palladion.com
Thu Oct 29 13:41:10 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

marche1990 wrote:
> Public bug reported:
> 
> I have just install Zope2 2.12.0 
> created a new instance
> and logged into the ZMI
> 
> when I click on the index_html object it gives me the following error
> 
> Error Type: Unauthorized
> Error Value: You are not allowed to access 'manage_page_header' in this context
> 
> I get this on any new folder when I check the create public interface.
> 
> If i delete this object and recreate all is fine, I think there is a
> problem with the default object that get created mapping to the
> manage_page_header.
> 
> If you need any more info from me please ask I'll do my best to supply
> as I'm a Zope Noobie.

Hmm, I can't reproduce this from an up-to-date Zope 2.12 branch
checkout::

  $ cd projects/Zope-CVS/Zope-2.12-branch
  $ svn up
  $ bin/buildout
  ...
  $ bin/mkzopeinstance -d /tmp/z212 -u admin:admin
  $ /tmp/z212/bin/zopectl fg

Nor from a new virtualenv with Zope2==2.12.0 installed:

  $ rm -r /tmp/z212
  $ ../bin/virtualenv2.6 --no-site-packages /tmp/z212sw
  $ cd /tmp/z212sw
  $ bin/easy_install Zope2==2.12.0
  ...
  $ bin/mkzopeisntance -d /tmp/z212inst -u admin:admin
  $ /tmp/z212inst/bin/zopectl fg

In both cases, when I click on the 'index_html' object, I see the "Edit"
tab, and can save changes to it.  The "Test" tab renders correctly, too.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrp07YACgkQ+gerLs4ltQ6C6gCgyXTsBg2cswhPvExR1W5bZSMX
ttoAn2P7ukz6VGoDTq8zV1gqD+wpgFQl
=fwy+
-----END PGP SIGNATURE-----

-- 
Unauthorised manage_page_header
https://bugs.launchpad.net/bugs/463454
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list