6 Jan
2007
6 Jan
'07
12:12 p.m.
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