Sha256: 283669ba79cf01473e77ae3a1af9e453998ee4e19f530a0de48884ad0b748b7b

Contents?: true

Size: 653 Bytes

Versions: 14

Compression:

Stored size: 653 Bytes

Contents

# frozen_string_literal: true

require "decidim/verifications/engine"
require "decidim/verifications/default_action_authorizer"
require "decidim/verifications/workflows"

require "decidim/verifications/id_documents"
require "decidim/verifications/postal_letter"

module Decidim
  def self.authorization_workflows
    Decidim::Verifications.workflows
  end

  def self.authorization_engines
    Decidim::Verifications.workflows.select(&:engine)
  end

  def self.authorization_admin_engines
    Decidim::Verifications.workflows.select(&:admin_engine)
  end

  def self.authorization_handlers
    Decidim::Verifications.workflows.select(&:form)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
decidim-verifications-0.15.2 lib/decidim/verifications.rb
decidim-verifications-0.15.1 lib/decidim/verifications.rb
decidim-verifications-0.15.0 lib/decidim/verifications.rb
decidim-verifications-0.14.4 lib/decidim/verifications.rb
decidim-verifications-0.14.3 lib/decidim/verifications.rb
decidim-verifications-0.14.2 lib/decidim/verifications.rb
decidim-verifications-0.14.1 lib/decidim/verifications.rb
decidim-verifications-0.13.1 lib/decidim/verifications.rb
decidim-verifications-0.12.2 lib/decidim/verifications.rb
decidim-verifications-0.13.0 lib/decidim/verifications.rb
decidim-verifications-0.12.1 lib/decidim/verifications.rb
decidim-verifications-0.13.0.pre1 lib/decidim/verifications.rb
decidim-verifications-0.12.0 lib/decidim/verifications.rb
decidim-verifications-0.12.0.pre lib/decidim/verifications.rb