I'd like to configure the portal actions from my policy add-on, instead of doing it manually with /@@actions-controlpanel. How?
Also, when deleting an action, does it really delete it?
Update: I can toggle items with an actions.xml file, similar to /Products/CMFPlone/profiles/default/actions.xml, but how to delete actions? Can it be done from a actions.xml file, or from a python script?
"@@my-action" is not a "Action", it's a View. You can disable the view via "protection with a permission" or override the view with an empty custom view or a redirect to portal root.