Sha256: 128a3a7b7a43e90f37bccade1c10307c6216a2933ad1f70179b63b93517a8aa9
Contents?: true
Size: 708 Bytes
Versions: 14
Compression:
Stored size: 708 Bytes
Contents
# frozen_string_literal: true module Decidim module Verifications module IdDocuments module Admin class PendingAuthorizationsController < Decidim::Admin::ApplicationController layout "decidim/admin/users" def index enforce_permission_to :index, :authorization @pending_authorizations = pending_authorizations end private def pending_authorizations Authorizations .new(organization: current_organization, name: "id_documents", granted: false) .query .where("verification_metadata->'rejected' IS NULL") end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems