Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF
TypesTool and contruction permissions
 

Index | Next | Previous | View Flat


gotcha at bubblenet

Jan 25, 2011, 7:31 AM


Views: 472
Permalink
TypesTool and contruction permissions

Hello,

I always thought I could register two portal types based on the same
class with different add permissions.

I read TypesTool code today. If I understand well, when using new style
ZTK factories, construction permissions are looked up in meta_types
registration.

I came to the following conclusion :

to register separate portal_types that share class implementation but
have different contruction permissions, I need to register meta_types
with separate permissions then use those meta_types in the FTIs to
relate the permissions and the portal_types.

Is this correct ?
--
Godefroid Chapelle (aka __gotcha) http://bubblenet.be

_______________________________________________
Zope-CMF maillist - Zope-CMF [at] zope
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Subject User Time
TypesTool and contruction permissions gotcha at bubblenet Jan 25, 2011, 7:31 AM
    Re: TypesTool and contruction permissions y.2011 at wcm-solutions Jan 25, 2011, 8:05 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.