The action has only a couple of lines, but there is also logic to check permissions on the actions.