> For the same type of object, and when logged in as an "Editor", the call to
> user.has_permission() (around line 254) in filtered_meta_types() in
> ObjectManager.py, returns false when all_meta_types is defined, and returns
> true when it isn't.  I don't know why the user would not have permission to
> add this type of object when all_meta_types is defined versus when it
> isn't.  This is why I'm confused.
I don't know the answer but you might want to use pdb to see what
happens in the code that confuses you.

If you don't know how to use pdb see:
http://plone.org/documentation/how-to/using-pdb

HTH

-- 
Maciej Wisniowski
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to