Sha256: 8344553e3ddb320c64396e28a9d37270f53d1ce97693c20b9d30356f989d92ae

Contents?: true

Size: 559 Bytes

Versions: 46

Compression:

Stored size: 559 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    class AuthorizationWorkflowsController < Decidim::Admin::ApplicationController
      layout "decidim/admin/users"

      def index
        enforce_permission_to :index, :authorization_workflow

        @workflows = Decidim::Verifications.admin_workflows

        # Decidim::Verifications::Authorizations Query
        @authorizations = Decidim::Verifications::Authorizations.new(
          organization: current_organization,
          granted: true
        ).query
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
decidim-admin-0.27.6 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.10 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.9 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.28.0 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.5 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.28.0.rc5 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.28.0.rc4 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.8 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.4 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.3 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.7 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.5 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.2 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.1 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.4 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.0 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.3 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.0.rc2 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.27.0.rc1 app/controllers/decidim/admin/authorization_workflows_controller.rb
decidim-admin-0.26.2 app/controllers/decidim/admin/authorization_workflows_controller.rb