human
What is a the Python program you requested given the following:
Complete the below
def check_action_edition_permission(view_func):

    ''''Decorator ensuring that the user has the permissions to modify a workflow action.
    Need to appear below @check_action_access_permission'
    '''
assistant
#Here is the Python program you requested.
    def decorate(request, *args, **kwargs):
        action = kwargs.get('action')
        Job.objects.can_edit_or_exception(request, action.workflow)
        return view_func(request, *args, **kwargs)
    return wraps(view_func)(decorate)