[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cmf
Subject: [Zope-CMF] GenericSetup "rolemap" importer does not register new
From: "Damien Baty (ML)" <damien () pilotsystems ! net>
Date: 2007-12-08 16:16:32
Message-ID: 475AC360.8070900 () pilotsystems ! net
[Download RAW message or body]
Hello,
I am trying to use GenericSetup to define permissions/roles mappings
for a product. As far as I can see, the current version of GenericSetup
does not register the permission if it does not exist. It supposes that
the permission exists and calls 'manage_permission()'. Naturally, it
breaks with new (unregistered) permissions.
All I need to do is to register this new permission, e.g. with
'CMFCore.permissions.setDefaultRoles()'. Is there any reason why this is
not done by the 'rolemap' importer? If not, I would be willing to
propose a patch.
(I am not totally sure that this is the right place to ask about
GenericSetup. If it is not, feel free to redirect me to the proper
mailing-list.)
Regards,
--
Damien Baty
Pilot Systems - 9, rue Desargues - 75011 Paris - France
Telephone : +33 (0)1 44 53 05 55 - http://www.pilotsystems.net
Free Zope & Plone hosting - http://www.objectis.org
_______________________________________________
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic