This module provides the configuration that can be used for rendering a menu item for the "Upload New Version" action. The main thing this provides is the "renderFilters" configuration that can be used to determine whether or not the action should be displayed based on the attributes of the "currentItem" (e.g. the Node) that the action is to be used against.
It should be possible to upload a new version of a Node when the following is true:
- The Node is NOT locked (unless the current user owns the lock)
- The Node is NOT a working copy (unless the current user is the working copy owner)
- The Node is NOT locked where the type of lock is "NODE_LOCK"