[Zope-CMF] Re: [dev] CMFActionIcons: permissions

yuppie y.2004_ at wcm-solutions.de
Wed Apr 28 07:54:20 EDT 2004


Tres Seaver wrote:
> Sorry I didn't make myself clear:  I don't mind importing it from 
> CMFCore;  I want the module there to make the fact of the import 
> explicit.  Reusing ManagePortal seems like the Right Thing to me, too.

Ok. Done.

>>> While we are at it, why don't we move the ones in CMFCore to a 
>>> 'permissions.py' module, and leave behind the 'CMFCorePermissions.py' 
>>> module for backward compatibility.
>>
>>
>> +0 for the new policy
>>
>> But if the policy is changed, each CMF package should have its own 
>> 'permissions.py', not just CMFCore and CMFActionIcons.
> 
> 
> +1;  that was in fact what I meant to propose.  I find the widespread 
> import ('from Products.CMFCore.CMFCorePermissions import ...') sprinkled 
> all over creation to be one of our more notable uglinesses.

I leave that to someone else, at least for now.


Cheers, Yuppie




More information about the Zope-CMF mailing list