[Zope-CMF] Permissions

Tres Seaver tseaver@palladion.com
Thu, 7 Jun 2001 11:37:14 -0400 (EDT)


On Thu, 7 Jun 2001, James van der Veen wrote:

> Hi all,
>=20
> I guess it is quite simple but I just can=B4t figure it out.
>=20
> I Have a CMF instance. Added some actions to the actions box (only visibl=
e
> to users who are logged in)
> But I would like to filter out the standard CMF actions like adding folde=
rs,
> content etc etc.=20
> This sould only be visible to the manager. How do I get this done?
>=20
> Any pointers? Just let me know!

Some of the actions are "hard-coded" into the current ActionsTool
implementation.  You can fix it by:

 - Replacing the 'portal_actions' object with another one which
   implements its "interface",
    http://cmf.zope.org/design/interfaces/tools/IF_portal_actions
   but which does what you want, in terms of "global" actions.

 - Wait for us to implement a "through-the-web-configurable"
   version.

Tres.
--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Tres Seaver                               tseaver@palladion.com