app/controllers/api/v1x0/mixins/rbac_mixin.rb
# The accessible workflow ids for approver
The accessible workflow ids for approver
The accessible workflow ids for approver
def workflow_ids
          approval_access = RBAC::Access.new('workflows', 'approve').process
          approval_access.send(:generate_ids)
          Rails.logger.info("Approvable workflows: #{approval_access.id_list}")
          approval_access.id_list
        end
def workflow_ids approval_access = RBAC :: Access . new ( 'workflows' , 'approve' ) . process approval_access . send ( :generate_ids ) Rails . logger . info ( "Approvable workflows: #{approval_access.id_list}" ) approval_access . id_list end
The accessible workflow ids for approver
The accessible workflow ids for approver