SECURITY: Enforce the DELETE_WORKFLOW permission for active workflows.

A user now must have the DELETE_WORKFLOW permission do be able to delete an active workflow. This will prevent unprivileged users from stopping the current workflow.