Actions Tool
May be somewhat out of date. Moved from cmf.zope.org, where it was last modifed 2000/11/01.
Purpose
Collate the actions a user can perform within the portal, based on roles, location, selected object, etc.
Anonymous permission
-
listFilteredActionsFor(self, object)
- Gets all actions available to the user and returns a mapping containing "user" actions, "object" actions, and "global" actions. The actions are collected from a listActions() method on other portal tools, a listActions() method on the object and all of its parents, and the defaultActions() method on the portal_actions object.
-
listFilteredActions(self)
- Gets the actions available to the user without being in the context of a PortalContent object.
No permission (called only by Python)
-
listActions(self, isAnonymous, portal_url)
- Returns a list of actions available to the user.