This patch adds a "run action" tab for privileged users. This tab brings up a list of all available actions. The user picks one and hits "run". The action is invoked on this node.

This patch is simple and does not change much of the original actions.module code. The only fix is a change to actions_load so that this API function can take either numeric or text action IDs.

I think this feature is most useful to admins trying out new actions. It may have value in other contexts, but because there is no per-user or per-role limitations on what actions a user can invoke, it could be dangerous for most users have.

-Mark

CommentFileSizeAuthor
actions.runactions.01.patch3.29 KBmfredrickson

Comments

moshe weitzman’s picture

if this is not desired in core actions, i suggest taking a couple needed hunks and leaving the tab and callback for contrib

pomliane’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

This version of Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.