app/controllers/api/v1x0/workflows_controller.rb
# TODO: remove 'approval:workflows:read' from approver acls list in RBAC Insight
remove 'approval:workflows:read' from approver acls list in RBAC Insight
remove ' approval : workflows : read ' from approver acls list in RBAC Insight
def show
        raise Exceptions::NotAuthorizedError, "Not Authorized for workflows" if RBAC::Access.enabled? && !admin?
        json_response(Workflow.find(params.require(:id)))
      end
def show raise Exceptions :: NotAuthorizedError , "Not Authorized for workflows" if RBAC :: Access . enabled? && ! admin? json_response ( Workflow . find ( params . require ( :id ) ) ) end
TODO: remove 'approval:workflows:read' from approver acls list in RBAC Insight
TODO : remove ' approval : workflows : read ' from approver acls list in RBAC Insight