[Zope] all_meta_types confusion
Maciej Wisniowski
maciej.wisniowski at coig.katowice.pl
Sat Jan 6 07:12:37 EST 2007
> 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
More information about the Zope
mailing list