Garth B. wrote at 2007-1-5 23:06 -0500:
>I'm trying to filter the objects that appear in the Add drop down, and I'm
>having odd results.  There are two scenarios.
>In the first scenario, the active user is a Manager and my folderish object
>does not have a defined all_meta_types function.  Everything shows up in the
>Add drop down as expected.  When I define all_meta_types for my folderish
>object to only return one kind of object, the "Add xxxxx" button appears as
>one would expect.
>In the second scenario, I have a role "Editor" which controls what kinds of
>objects the user can add.  When I do not have an all_meta_types function
>defined on my folderish object, only those objects that the role permits the
>user to add are shown.  When I define all_meta_types for my folderish object
>to only return one of the kinds of objects that the role does permit, the
>user can't add anything.  No "Add xxxxx" button that one would normally see
>when only able to add a single type of object to a folderish object.

You have included the "'permission'" definition in your "meta_type" entry?

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to