decidim-verifications 0.31.4 → 0.31.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/commands/decidim/verifications/revoke_all_authorizations.rb +1 -14
- data/app/commands/decidim/verifications/revoke_authorizations_by_condition.rb +46 -0
- data/app/controllers/concerns/decidim/verifications/admin/pending_authorization_loader.rb +21 -0
- data/app/controllers/decidim/verifications/admin/verifications_controller.rb +1 -1
- data/app/controllers/decidim/verifications/csv_census/admin/census_controller.rb +9 -1
- data/app/controllers/decidim/verifications/csv_census/admin/census_records_controller.rb +8 -0
- data/app/controllers/decidim/verifications/id_documents/admin/confirmations_controller.rb +2 -1
- data/app/controllers/decidim/verifications/id_documents/admin/rejections_controller.rb +2 -1
- data/app/controllers/decidim/verifications/postal_letter/admin/postages_controller.rb +2 -1
- data/app/jobs/decidim/verifications/revoke_all_authorizations_job.rb +30 -0
- data/app/jobs/decidim/verifications/revoke_authorizations_by_condition_job.rb +44 -0
- data/app/views/decidim/verifications/id_documents/admin/confirmations/new.html.erb +1 -1
- data/app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb +1 -1
- data/app/views/decidim/verifications/id_documents/authorizations/_form.html.erb +3 -1
- data/app/views/decidim/verifications/postal_letter/admin/pending_authorizations/index.html.erb +1 -1
- data/config/locales/bg.yml +0 -1
- data/config/locales/ca-IT.yml +1 -1
- data/config/locales/ca.yml +1 -1
- data/config/locales/cs.yml +0 -1
- data/config/locales/de.yml +0 -1
- data/config/locales/en.yml +1 -1
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es-PY.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/eu.yml +5 -5
- data/config/locales/fi-plain.yml +1 -1
- data/config/locales/fi.yml +1 -1
- data/config/locales/fr-CA.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/config/locales/gl.yml +0 -1
- data/config/locales/hu.yml +0 -1
- data/config/locales/it.yml +0 -1
- data/config/locales/ja.yml +1 -1
- data/config/locales/lt.yml +0 -1
- data/config/locales/nl.yml +0 -1
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +0 -1
- data/config/locales/pt-BR.yml +0 -1
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +0 -1
- data/config/locales/sk.yml +200 -1
- data/config/locales/sv.yml +0 -1
- data/config/locales/tr-TR.yml +1 -1
- data/config/locales/zh-TW.yml +0 -1
- data/lib/decidim/verifications/version.rb +1 -1
- metadata +12 -9
- data/app/commands/decidim/verifications/revoke_by_condition_authorizations.rb +0 -68
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a09b16490bb9f47ce82ae2f8916077a1d7bd4c065ec1578c4874dfd2e8544061
|
|
4
|
+
data.tar.gz: ad4b7833b1438669825a743173d307f2ee69293c051b5a93d182a481f81d91e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53766ed72c8c0e16d21d4363c67ce3503392973953f3ae534b1c0e93604ee4da139775f3cbb1ddf82b38691f29604609792375e0a14713939fd94ad0403ae5e1
|
|
7
|
+
data.tar.gz: ec48b6c63ebdd25bcded6cfa146b2c588825156d37e4452190ef9c065a93834eb83fb1bec790801e42f5bb1c270d4d7838a10aa83d9b19301a8ad57bcd92ec28
|
|
@@ -22,20 +22,7 @@ module Decidim
|
|
|
22
22
|
def call
|
|
23
23
|
return broadcast(:invalid) unless @organization
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
organization:,
|
|
27
|
-
granted: true
|
|
28
|
-
).query
|
|
29
|
-
|
|
30
|
-
auths.find_each do |auth|
|
|
31
|
-
Decidim.traceability.perform_action!(
|
|
32
|
-
:destroy,
|
|
33
|
-
auth,
|
|
34
|
-
current_user
|
|
35
|
-
) do
|
|
36
|
-
auth.destroy
|
|
37
|
-
end
|
|
38
|
-
end
|
|
25
|
+
RevokeAllAuthorizationsJob.perform_later(organization, current_user)
|
|
39
26
|
|
|
40
27
|
broadcast(:ok)
|
|
41
28
|
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Decidim
|
|
4
|
+
module Verifications
|
|
5
|
+
# A command to revoke authorizations with filter
|
|
6
|
+
class RevokeAuthorizationsByCondition < Decidim::Command
|
|
7
|
+
delegate :current_user, to: :form
|
|
8
|
+
# Initializes the command.
|
|
9
|
+
#
|
|
10
|
+
# @param organization [Decidim::Organization] The organization where authorizations will be revoked
|
|
11
|
+
# @param form [Decidim::Verifications::RevocationsBeforeDateForm] A form object with the verification data to confirm it
|
|
12
|
+
def initialize(organization, form)
|
|
13
|
+
@organization = organization
|
|
14
|
+
@form = form
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Executes the command. Broadcasts these events:
|
|
18
|
+
#
|
|
19
|
+
# - :ok when everything is valid.
|
|
20
|
+
# - :invalid if the handler was not valid and we could not proceed.
|
|
21
|
+
#
|
|
22
|
+
# Returns nothing.
|
|
23
|
+
def call
|
|
24
|
+
return broadcast(:invalid) unless @organization
|
|
25
|
+
return broadcast(:invalid) unless @form.valid?
|
|
26
|
+
|
|
27
|
+
if @form.before_date.present?
|
|
28
|
+
RevokeAuthorizationsByConditionJob.perform_later(
|
|
29
|
+
organization,
|
|
30
|
+
current_user,
|
|
31
|
+
@form.before_date,
|
|
32
|
+
@form.impersonated_only?
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
broadcast(:ok)
|
|
36
|
+
else
|
|
37
|
+
broadcast(:invalid)
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
private
|
|
42
|
+
|
|
43
|
+
attr_reader :organization, :form
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "active_support/concern"
|
|
4
|
+
|
|
5
|
+
module Decidim
|
|
6
|
+
module Verifications
|
|
7
|
+
module Admin
|
|
8
|
+
module PendingAuthorizationLoader
|
|
9
|
+
extend ActiveSupport::Concern
|
|
10
|
+
|
|
11
|
+
included do
|
|
12
|
+
def load_pending_authorization!(name, pending_authorization_id)
|
|
13
|
+
Authorizations.new(organization: current_organization, name:, granted: false)
|
|
14
|
+
.query
|
|
15
|
+
.find(pending_authorization_id)
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -9,7 +9,7 @@ module Decidim
|
|
|
9
9
|
return unless params.has_key?(:revocations_before_date)
|
|
10
10
|
|
|
11
11
|
form = RevocationsBeforeDateForm.from_params(params[:revocations_before_date])
|
|
12
|
-
|
|
12
|
+
RevokeAuthorizationsByCondition.call(current_organization, form) do
|
|
13
13
|
on(:ok) do
|
|
14
14
|
flash[:notice] = t("authorization_revocation.destroy_ok", scope: "decidim.admin.menu")
|
|
15
15
|
redirect_to decidim_admin.authorization_workflows_url
|
|
@@ -18,9 +18,13 @@ module Decidim
|
|
|
18
18
|
|
|
19
19
|
helper_method :csv_census_data, :last_login
|
|
20
20
|
|
|
21
|
-
def index
|
|
21
|
+
def index
|
|
22
|
+
enforce_permission_to :index, :authorization
|
|
23
|
+
end
|
|
22
24
|
|
|
23
25
|
def destroy
|
|
26
|
+
enforce_permission_to :destroy, :authorization
|
|
27
|
+
|
|
24
28
|
Decidim::Commands::DestroyResource.call(census_data, current_user) do
|
|
25
29
|
on(:ok) do
|
|
26
30
|
flash[:notice] = I18n.t("census.destroy.success", scope: "decidim.verifications.csv_census.admin")
|
|
@@ -30,12 +34,15 @@ module Decidim
|
|
|
30
34
|
end
|
|
31
35
|
|
|
32
36
|
def new_import
|
|
37
|
+
enforce_permission_to :create, :authorization
|
|
38
|
+
|
|
33
39
|
@form = form(CensusDataForm).from_params(params)
|
|
34
40
|
@status = Status.new(current_organization)
|
|
35
41
|
end
|
|
36
42
|
|
|
37
43
|
def create_import
|
|
38
44
|
enforce_permission_to :create, :authorization
|
|
45
|
+
|
|
39
46
|
@form = form(CensusDataForm).from_params(params)
|
|
40
47
|
@status = Status.new(current_organization)
|
|
41
48
|
|
|
@@ -76,6 +83,7 @@ module Decidim
|
|
|
76
83
|
|
|
77
84
|
def show_instructions
|
|
78
85
|
enforce_permission_to :index, :authorization
|
|
86
|
+
|
|
79
87
|
render :instructions
|
|
80
88
|
end
|
|
81
89
|
|
|
@@ -10,10 +10,14 @@ module Decidim
|
|
|
10
10
|
helper_method :csv_census_data
|
|
11
11
|
|
|
12
12
|
def new_record
|
|
13
|
+
enforce_permission_to :create, :authorization
|
|
14
|
+
|
|
13
15
|
@form = form(Admin::CensusForm).instance
|
|
14
16
|
end
|
|
15
17
|
|
|
16
18
|
def create_record
|
|
19
|
+
enforce_permission_to :create, :authorization
|
|
20
|
+
|
|
17
21
|
@form = form(Admin::CensusForm).from_params(params)
|
|
18
22
|
Admin::CreateCensusRecord.call(@form) do
|
|
19
23
|
on(:ok) do
|
|
@@ -28,10 +32,14 @@ module Decidim
|
|
|
28
32
|
end
|
|
29
33
|
|
|
30
34
|
def edit_record
|
|
35
|
+
enforce_permission_to :update, :authorization
|
|
36
|
+
|
|
31
37
|
@form = form(Admin::CensusForm).from_model(census_data)
|
|
32
38
|
end
|
|
33
39
|
|
|
34
40
|
def update_record
|
|
41
|
+
enforce_permission_to :update, :authorization
|
|
42
|
+
|
|
35
43
|
@form = form(Admin::CensusForm).from_params(params)
|
|
36
44
|
|
|
37
45
|
Admin::UpdateCensusRecord.call(@form, census_data) do
|
|
@@ -13,6 +13,7 @@ module Decidim
|
|
|
13
13
|
before_action :load_pending_authorization
|
|
14
14
|
|
|
15
15
|
include Decidim::Admin::WorkflowsBreadcrumb
|
|
16
|
+
include Decidim::Verifications::Admin::PendingAuthorizationLoader
|
|
16
17
|
|
|
17
18
|
add_breadcrumb_item_from_menu :workflows_menu
|
|
18
19
|
|
|
@@ -43,7 +44,7 @@ module Decidim
|
|
|
43
44
|
private
|
|
44
45
|
|
|
45
46
|
def load_pending_authorization
|
|
46
|
-
@pending_authorization =
|
|
47
|
+
@pending_authorization = load_pending_authorization!("id_documents", params[:pending_authorization_id])
|
|
47
48
|
end
|
|
48
49
|
end
|
|
49
50
|
end
|
|
@@ -13,6 +13,7 @@ module Decidim
|
|
|
13
13
|
before_action :load_pending_authorization
|
|
14
14
|
|
|
15
15
|
include Decidim::Admin::WorkflowsBreadcrumb
|
|
16
|
+
include Decidim::Verifications::Admin::PendingAuthorizationLoader
|
|
16
17
|
|
|
17
18
|
add_breadcrumb_item_from_menu :workflows_menu
|
|
18
19
|
|
|
@@ -32,7 +33,7 @@ module Decidim
|
|
|
32
33
|
private
|
|
33
34
|
|
|
34
35
|
def load_pending_authorization
|
|
35
|
-
@pending_authorization =
|
|
36
|
+
@pending_authorization = load_pending_authorization!("id_documents", params[:pending_authorization_id])
|
|
36
37
|
end
|
|
37
38
|
end
|
|
38
39
|
end
|
|
@@ -13,6 +13,7 @@ module Decidim
|
|
|
13
13
|
before_action :load_pending_authorization
|
|
14
14
|
|
|
15
15
|
include Decidim::Admin::WorkflowsBreadcrumb
|
|
16
|
+
include Decidim::Verifications::Admin::PendingAuthorizationLoader
|
|
16
17
|
|
|
17
18
|
add_breadcrumb_item_from_menu :workflows_menu
|
|
18
19
|
|
|
@@ -36,7 +37,7 @@ module Decidim
|
|
|
36
37
|
private
|
|
37
38
|
|
|
38
39
|
def load_pending_authorization
|
|
39
|
-
@pending_authorization =
|
|
40
|
+
@pending_authorization = load_pending_authorization!("postal_letter", params[:pending_authorization_id])
|
|
40
41
|
end
|
|
41
42
|
end
|
|
42
43
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Decidim
|
|
4
|
+
module Verifications
|
|
5
|
+
class RevokeAllAuthorizationsJob < Decidim::ApplicationJob
|
|
6
|
+
queue_as :default
|
|
7
|
+
|
|
8
|
+
# Revokes every granted authorization for the given organization.
|
|
9
|
+
#
|
|
10
|
+
# @param organization [Decidim::Organization] The organization whose authorizations will be revoked
|
|
11
|
+
# @param current_user [Decidim::User] the current user.
|
|
12
|
+
def perform(organization, current_user)
|
|
13
|
+
auths = Decidim::Verifications::Authorizations.new(
|
|
14
|
+
organization:,
|
|
15
|
+
granted: true
|
|
16
|
+
).query.includes(transfers: :records)
|
|
17
|
+
|
|
18
|
+
auths.find_each do |auth|
|
|
19
|
+
Decidim.traceability.perform_action!(
|
|
20
|
+
:destroy,
|
|
21
|
+
auth,
|
|
22
|
+
current_user
|
|
23
|
+
) do
|
|
24
|
+
auth.destroy
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Decidim
|
|
4
|
+
module Verifications
|
|
5
|
+
class RevokeAuthorizationsByConditionJob < Decidim::ApplicationJob
|
|
6
|
+
queue_as :default
|
|
7
|
+
|
|
8
|
+
# Revokes the organization's granted authorizations created before
|
|
9
|
+
# the given date, optionally limited to impersonated users only.
|
|
10
|
+
#
|
|
11
|
+
# @param organization [Decidim::Organization] The organization whose authorizations will be revoked
|
|
12
|
+
# @param current_user [Decidim::User] the current user.
|
|
13
|
+
# @param before_date [Date] Only authorizations created before this date are revoked
|
|
14
|
+
# @param impersonated_only [Boolean] When true, only impersonated users' authorizations are revoked
|
|
15
|
+
def perform(organization, current_user, before_date, impersonated_only)
|
|
16
|
+
authorizations_to_revoke = if impersonated_only
|
|
17
|
+
Decidim::Verifications::AuthorizationsBeforeDate.new(
|
|
18
|
+
organization:,
|
|
19
|
+
date: before_date,
|
|
20
|
+
granted: true,
|
|
21
|
+
impersonated_only:
|
|
22
|
+
)
|
|
23
|
+
else
|
|
24
|
+
Decidim::Verifications::AuthorizationsBeforeDate.new(
|
|
25
|
+
organization:,
|
|
26
|
+
date: before_date,
|
|
27
|
+
granted: true
|
|
28
|
+
)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
auths = authorizations_to_revoke.query.includes(transfers: :records)
|
|
32
|
+
auths.find_each do |auth|
|
|
33
|
+
Decidim.traceability.perform_action!(
|
|
34
|
+
:destroy,
|
|
35
|
+
auth,
|
|
36
|
+
current_user
|
|
37
|
+
) do
|
|
38
|
+
auth.destroy
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<div class="card-section">
|
|
19
19
|
<div class="row column">
|
|
20
|
-
<%= image_tag @pending_authorization
|
|
20
|
+
<%= image_tag decidim.private_download_path(Decidim::PrivateDownload.for(@pending_authorization, attachment_name: :verification_attachment).token), class: "thumbnail" %>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
23
|
<div class="row column">
|
data/app/views/decidim/verifications/id_documents/admin/pending_authorizations/index.html.erb
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</td>
|
|
25
25
|
<td>
|
|
26
26
|
<%= link_to new_pending_authorization_confirmation_path(authorization.id) do %>
|
|
27
|
-
<%= image_tag
|
|
27
|
+
<%= image_tag decidim.private_download_path(Decidim::PrivateDownload.for(authorization, attachment_name: :verification_attachment).token), class: "thumbnail-list" %>
|
|
28
28
|
<% end %>
|
|
29
29
|
</td>
|
|
30
30
|
</tr>
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
<%= form.text_field :document_number %>
|
|
7
7
|
|
|
8
8
|
<% if using_online? %>
|
|
9
|
-
<%= form.upload :verification_attachment,
|
|
9
|
+
<%= form.upload :verification_attachment,
|
|
10
|
+
button_class: "button button__lg button__transparent-secondary verification__upload-button",
|
|
11
|
+
attachments: [@authorization.verification_attachment] %>
|
|
10
12
|
<% end %>
|
|
11
13
|
|
|
12
14
|
<%= form.hidden_field :verification_type, value: verification_type %>
|
data/app/views/decidim/verifications/postal_letter/admin/pending_authorizations/index.html.erb
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<li class="dropdown__item">
|
|
45
45
|
<% if authorization.letter_sent? %>
|
|
46
46
|
<div class="dropdown__button-disabled">
|
|
47
|
-
<%= with_tooltip t(".already_sent") do %>
|
|
47
|
+
<%= with_tooltip t(".already_sent"), class: :left do %>
|
|
48
48
|
<%= icon "checkbox-circle-line", class: "text-gray" %>
|
|
49
49
|
<span>
|
|
50
50
|
<%= t(".mark_as_sent") %>
|
data/config/locales/bg.yml
CHANGED
|
@@ -44,7 +44,6 @@ bg:
|
|
|
44
44
|
destroy:
|
|
45
45
|
confirm: Отмяната на разрешенията преди определена дата, не може да бъде възстановено. Сигурни ли сте, че искате да продължите?
|
|
46
46
|
confirm_all: Отмяната на всички разрешения, не може да бъде възстановено. Сигурни ли сте, че искате да продължите?
|
|
47
|
-
destroy_ok: Всички съвпадащи оторизации бяха отменени успешно.
|
|
48
47
|
info: Има общо %{count} потвърдени участници.
|
|
49
48
|
no_data: Няма потвърдени участници.
|
|
50
49
|
title: Оторизации за отмяна
|
data/config/locales/ca-IT.yml
CHANGED
|
@@ -49,7 +49,7 @@ ca-IT:
|
|
|
49
49
|
confirm: La revocació d'autoritzacions anteriors a aquesta data no es pot desfer. Segur que vols continuar?
|
|
50
50
|
confirm_all: La revocació de totes les autoritzacions no es pot desfer. Segur que vols continuar?
|
|
51
51
|
destroy_nok: S'ha produït un error en revocar les autoritzacions.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: S'estan revocant les autoritzacions. Aquest procés pot trigar uns minuts a completar-se.
|
|
53
53
|
info: Hi ha un total de %{count} participants verificades.
|
|
54
54
|
no_data: No hi ha participants verificades.
|
|
55
55
|
title: Revocació d'autoritzacions
|
data/config/locales/ca.yml
CHANGED
|
@@ -49,7 +49,7 @@ ca:
|
|
|
49
49
|
confirm: La revocació d'autoritzacions anteriors a aquesta data no es pot desfer. Segur que vols continuar?
|
|
50
50
|
confirm_all: La revocació de totes les autoritzacions no es pot desfer. Segur que vols continuar?
|
|
51
51
|
destroy_nok: S'ha produït un error en revocar les autoritzacions.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: S'estan revocant les autoritzacions. Aquest procés pot trigar uns minuts a completar-se.
|
|
53
53
|
info: Hi ha un total de %{count} participants verificades.
|
|
54
54
|
no_data: No hi ha participants verificades.
|
|
55
55
|
title: Revocació d'autoritzacions
|
data/config/locales/cs.yml
CHANGED
|
@@ -49,7 +49,6 @@ cs:
|
|
|
49
49
|
confirm: Zrušení před datem autorizace nelze vrátit zpět. Jste si jisti, že chcete pokračovat?
|
|
50
50
|
confirm_all: Zrušení všech autorizací nelze vrátit zpět. Jste si jisti, že chcete pokračovat?
|
|
51
51
|
destroy_nok: Při odebírání autorizací došlo k chybě.
|
|
52
|
-
destroy_ok: Všechny odpovídající autorizace byly úspěšně zrušeny.
|
|
53
52
|
info: Celkem je %{count} ověřených účastníků.
|
|
54
53
|
no_data: Žádní ověření účastníci.
|
|
55
54
|
title: Zrušení autorizace
|
data/config/locales/de.yml
CHANGED
|
@@ -49,7 +49,6 @@ de:
|
|
|
49
49
|
confirm: Das Entziehen aller Berechtigungen vor einem Datum kann nicht rückgängig gemacht werden. Sind Sie sicher, dass Sie fortfahren möchten?
|
|
50
50
|
confirm_all: Das Entziehen aller Berechtigungen nicht rückgängig gemacht werden. Sind Sie sicher, dass Sie fortfahren möchten?
|
|
51
51
|
destroy_nok: Beim Entziehen der Berechtigungen ist ein Fehler aufgetreten.
|
|
52
|
-
destroy_ok: Alle übereinstimmenden Berechtigungen wurden erfolgreich entzogen.
|
|
53
52
|
info: Es gibt insgesamt %{count} verifizierte Teilnehmer.
|
|
54
53
|
no_data: Keine verifizierten Teilnehmer.
|
|
55
54
|
title: Berechtigungen widerrufen
|
data/config/locales/en.yml
CHANGED
|
@@ -49,7 +49,7 @@ en:
|
|
|
49
49
|
confirm: Revoke before date authorizations cannot be undone. Are you sure you want to continue?
|
|
50
50
|
confirm_all: Revoke all the authorizations cannot be undone. Are you sure you want to continue?
|
|
51
51
|
destroy_nok: There was a problem while revoking authorizations.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: Revocation of authorizations is in progress. This may take a few minutes to complete.
|
|
53
53
|
info: There are a total of %{count} verified participants.
|
|
54
54
|
no_data: No verified participants.
|
|
55
55
|
title: Authorizations revocation
|
data/config/locales/es-MX.yml
CHANGED
|
@@ -49,7 +49,7 @@ es-MX:
|
|
|
49
49
|
confirm: La revocación de las autorizaciones anteriores a esta fecha no se puede deshacer. ¿Seguro que quieres continuar?
|
|
50
50
|
confirm_all: La revocación de todas las autorizaciones no se puede deshacer. ¿Seguro que quieres continuar?
|
|
51
51
|
destroy_nok: Se ha producido un error al revocar las autorizaciones.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: La revocación de las autorizaciones está en curso. Esto puede tardar unos minutos en completarse.
|
|
53
53
|
info: Hay un total de %{count} participantes verificadas.
|
|
54
54
|
no_data: No hay participantes verificadas.
|
|
55
55
|
title: Revocación de autorizaciones
|
data/config/locales/es-PY.yml
CHANGED
|
@@ -49,7 +49,7 @@ es-PY:
|
|
|
49
49
|
confirm: La revocación de las autorizaciones anteriores a esta fecha no se puede deshacer. ¿Seguro que quieres continuar?
|
|
50
50
|
confirm_all: La revocación de todas las autorizaciones no se puede deshacer. ¿Seguro que quieres continuar?
|
|
51
51
|
destroy_nok: Se ha producido un error al revocar las autorizaciones.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: La revocación de las autorizaciones está en curso. Esto puede tardar unos minutos en completarse.
|
|
53
53
|
info: Hay un total de %{count} participantes verificadas.
|
|
54
54
|
no_data: No hay participantes verificadas.
|
|
55
55
|
title: Revocación de autorizaciones
|
data/config/locales/es.yml
CHANGED
|
@@ -49,7 +49,7 @@ es:
|
|
|
49
49
|
confirm: La revocación de las autorizaciones anteriores a esta fecha no se puede deshacer. ¿Seguro que quieres continuar?
|
|
50
50
|
confirm_all: La revocación de todas las autorizaciones no se puede deshacer. ¿Seguro que quieres continuar?
|
|
51
51
|
destroy_nok: Se ha producido un error al revocar las autorizaciones.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: La revocación de las autorizaciones está en curso. Esto puede tardar unos minutos en completarse.
|
|
53
53
|
info: Hay un total de %{count} participantes verificadas.
|
|
54
54
|
no_data: No hay participantes verificadas.
|
|
55
55
|
title: Revocación de autorizaciones
|
data/config/locales/eu.yml
CHANGED
|
@@ -18,7 +18,7 @@ eu:
|
|
|
18
18
|
document_type: Dokumentu mota
|
|
19
19
|
id_document_upload:
|
|
20
20
|
document_number: Dokumentuaren zenbakia (letraz)
|
|
21
|
-
document_type:
|
|
21
|
+
document_type: Dokumentu mota
|
|
22
22
|
user: Parte-hartzaileak
|
|
23
23
|
verification_attachment: Zure dokumentuaren eskaneatutako kopia
|
|
24
24
|
mobile_phone:
|
|
@@ -49,7 +49,7 @@ eu:
|
|
|
49
49
|
confirm: Data horren aurreko baimenak baliogabetzea ezin da desegin. Ziur zaude jarraitu nahi duzula?
|
|
50
50
|
confirm_all: Baimen guztiak baliogabetzea ezin da desegin. Ziur zaude jarraitu nahi duzula?
|
|
51
51
|
destroy_nok: Arazo bat izn da baimenak ezeztatzean.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: Baimenak ezeztatzen ari dira. Minutu batzuk beharko ditugu hau bukatzeko.
|
|
53
53
|
info: Guztira %{count} parte-hartzaile egiaztatuta daude.
|
|
54
54
|
no_data: Ez dago parte-hartzaile egiaztaturik.
|
|
55
55
|
title: Baimenak ezeztatzea
|
|
@@ -68,7 +68,7 @@ eu:
|
|
|
68
68
|
- Egiaztatu "A" letraz hasten den pasaporte zenbaki bat sartuz.
|
|
69
69
|
csv_census:
|
|
70
70
|
help:
|
|
71
|
-
- Administratzaileek onartutako parte-hartzaileen posta elektronikoak dituen CSV igotzen dute.
|
|
71
|
+
- Administratzaileek onartutako parte-hartzaileen posta elektronikoak dituen CSV igotzen dute.
|
|
72
72
|
- CSV fitxategian posta elektroniko bat duten parte-hartzaileak soilik egiaztatu ahal dira.
|
|
73
73
|
default:
|
|
74
74
|
help:
|
|
@@ -183,7 +183,7 @@ eu:
|
|
|
183
183
|
index:
|
|
184
184
|
empty: Ez dago errolda-daturik. Erabili %{import_csv} inportatzeko CSV fitxategi bat.
|
|
185
185
|
no_sign_in: Saioa inoiz ez hasia
|
|
186
|
-
no_user: Ez da parte-hartzailerik aurkitu
|
|
186
|
+
no_user: Ez da parte-hartzailerik aurkitu
|
|
187
187
|
last_login:
|
|
188
188
|
no_sign_in: Inoiz ez sinatua
|
|
189
189
|
no_user: Parte-hartzailerik gabe
|
|
@@ -246,7 +246,7 @@ eu:
|
|
|
246
246
|
config:
|
|
247
247
|
edit:
|
|
248
248
|
title: Nortasun agirien konfigurazioa
|
|
249
|
-
update:
|
|
249
|
+
update: Eguneratu
|
|
250
250
|
update:
|
|
251
251
|
error: Arazo bat egon da konfigurazioa eguneratzean.
|
|
252
252
|
success: Ezarpena zuzen eguneratua.
|
data/config/locales/fi-plain.yml
CHANGED
|
@@ -49,7 +49,7 @@ fi-pl:
|
|
|
49
49
|
confirm: Ennen valittua päivämäärää tehtyjen vahvistustietojen tuhoamista ei voi peruuttaa. Haluatko varmasti jatkaa?
|
|
50
50
|
confirm_all: Vahvistusten tuhoamista ei voi peruuttaa. Haluatko varmasti jatkaa?
|
|
51
51
|
destroy_nok: Vahvistusten kumoaminen epäonnistui.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: Tunnistautumisten kumoaminen on käynnissä. Tämän valmistuminen voi kestää useamman minuutin ajan.
|
|
53
53
|
info: Yhteensä %{count} varmennettua osallistujaa.
|
|
54
54
|
no_data: Ei vahvistettuja osallistujia.
|
|
55
55
|
title: Tunnistautumisten peruuttaminen
|
data/config/locales/fi.yml
CHANGED
|
@@ -49,7 +49,7 @@ fi:
|
|
|
49
49
|
confirm: Ennen valittua päivämäärää tehtyjen vahvistustietojen kumoamista ei voi perua. Haluatko varmasti jatkaa?
|
|
50
50
|
confirm_all: Vahvistusten kumoamista ei voi perua. Haluatko varmasti jatkaa?
|
|
51
51
|
destroy_nok: Vahvistusten kumoaminen epäonnistui.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: Tunnistautumisten kumoaminen on käynnissä. Tämän valmistuminen voi kestää useamman minuutin ajan.
|
|
53
53
|
info: Yhteensä %{count} vahvistettua osallistujaa.
|
|
54
54
|
no_data: Ei vahvistettuja osallistujia.
|
|
55
55
|
title: Tunnistautumisten kumoaminen
|
data/config/locales/fr-CA.yml
CHANGED
|
@@ -49,7 +49,7 @@ fr-CA:
|
|
|
49
49
|
confirm: Révoquer avant la date d'autorisation ne peut pas être annulée. Êtes-vous sûr de vouloir continuer ?
|
|
50
50
|
confirm_all: La révocation des autorisations ne peut être annulée. Êtes-vous sur de vouloir continuer?
|
|
51
51
|
destroy_nok: Une erreur s'est produite lors de la révocation des autorisations.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: La révocation des autorisations est en cours. Cela peut prendre quelques minutes.
|
|
53
53
|
info: Il y a un total de %{count} participants vérifiés.
|
|
54
54
|
no_data: Aucun participant vérifié.
|
|
55
55
|
title: Révocation des autorisations
|
data/config/locales/fr.yml
CHANGED
|
@@ -49,7 +49,7 @@ fr:
|
|
|
49
49
|
confirm: Révoquer avant la date d'autorisation ne peut pas être annulée. Êtes-vous sûr de vouloir continuer ?
|
|
50
50
|
confirm_all: La révocation des autorisations ne peut être annulée. Êtes-vous sur de vouloir continuer?
|
|
51
51
|
destroy_nok: Une erreur s'est produite lors de la révocation des autorisations.
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: La révocation des autorisations est en cours. Cela peut prendre quelques minutes.
|
|
53
53
|
info: Il y a un total de %{count} participants vérifiés.
|
|
54
54
|
no_data: Aucun participant vérifié.
|
|
55
55
|
title: Révocation des autorisations
|
data/config/locales/gl.yml
CHANGED
|
@@ -31,7 +31,6 @@ gl:
|
|
|
31
31
|
before_date_info: Útil se o proceso ten comezado e queres rexeitar os permisos do proceso anterior.
|
|
32
32
|
button: Rexeitar todo
|
|
33
33
|
button_before: Rexeitar antes da data
|
|
34
|
-
destroy_ok: Todas as autorizacións coincidentes foron revogadas con éxito.
|
|
35
34
|
info: Hai un total de %{count} participantes verificados.
|
|
36
35
|
title: Revogación de autorización
|
|
37
36
|
authorization_workflows: Autorizacións
|
data/config/locales/hu.yml
CHANGED
|
@@ -40,7 +40,6 @@ hu:
|
|
|
40
40
|
destroy:
|
|
41
41
|
confirm: A dátum előtti engedélyek visszavonása nem vonható vissza. Biztos, hogy folytatni szeretné?
|
|
42
42
|
confirm_all: Az összes jogosultság visszavonása nem vonható vissza. Biztos, hogy folytatni szeretné?
|
|
43
|
-
destroy_ok: Az összes egyező engedélyt sikeresen visszavonták.
|
|
44
43
|
info: Összesen %{count} ellenőrzött résztvevő.
|
|
45
44
|
no_data: Nincsenek ellenőrzött résztvevők.
|
|
46
45
|
title: Engedélyezés és visszavonás
|
data/config/locales/it.yml
CHANGED
|
@@ -31,7 +31,6 @@ it:
|
|
|
31
31
|
before_date_info: Utile se il processo è già iniziato e si desidera revocare i permessi del processo precedente.
|
|
32
32
|
button: Revoca tutto
|
|
33
33
|
button_before: Revoca prima della data
|
|
34
|
-
destroy_ok: Tutte le autorizzazioni corrispondenti sono state revocate correttamente.
|
|
35
34
|
info: Ci sono un totale di %{count} partecipanti verificati.
|
|
36
35
|
title: Revoca delle autorizzazioni
|
|
37
36
|
authorization_workflows: Autorizzazioni
|
data/config/locales/ja.yml
CHANGED
|
@@ -49,7 +49,7 @@ ja:
|
|
|
49
49
|
confirm: 指定日以前の認証の取り消しはやり直すことができません。続行してもよろしいですか?
|
|
50
50
|
confirm_all: すべての権限を取り消すと、元に戻すことができません。本当に続行しますか?
|
|
51
51
|
destroy_nok: 認証の取り消し中に問題が発生しました。
|
|
52
|
-
destroy_ok:
|
|
52
|
+
destroy_ok: 権限の取り消しが進行中です。完了までに数分かかることがあります。
|
|
53
53
|
info: '%{count} 人の確認済み参加者がいます。'
|
|
54
54
|
no_data: 検証済みの参加者はいません。
|
|
55
55
|
title: 認証の取り消し方法
|
data/config/locales/lt.yml
CHANGED
|
@@ -44,7 +44,6 @@ lt:
|
|
|
44
44
|
destroy:
|
|
45
45
|
confirm: Atšaukus leidimus iki datos, veiksmo nebus galima anuliuoti. Ar tikrai norite tęsti?
|
|
46
46
|
confirm_all: Atšaukus visus leidimus, veiksmo nebus galima anuliuoti. Ar tikrai norite tęsti?
|
|
47
|
-
destroy_ok: Visi sutampantys leidimai atšaukti.
|
|
48
47
|
info: Bendras patvirtintų dalyvių skaičius – %{count}.
|
|
49
48
|
no_data: Patvirtintų dalyvių nėra.
|
|
50
49
|
title: Įgaliojimų atėmimas
|
data/config/locales/nl.yml
CHANGED
|
@@ -31,7 +31,6 @@ nl:
|
|
|
31
31
|
before_date_info: Nuttig als het proces al is begonnen en u de machtigingen van het vorige proces wilt intrekken.
|
|
32
32
|
button: Alles intrekken
|
|
33
33
|
button_before: Intrekken voor datum
|
|
34
|
-
destroy_ok: Alle overeenkomstige autorisaties zijn ingetrokken.
|
|
35
34
|
info: Er zijn een totaal van %{count} geverifieerde deelnemers.
|
|
36
35
|
title: Autorisaties intrekken
|
|
37
36
|
authorization_workflows: Authorisaties
|
data/config/locales/no.yml
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
before_date_info: Nyttig hvis prosessen allerede har begynt og du vil tilbakekalle tillatelsene for den forrige prosessen.
|
|
32
32
|
button: Opphev alle
|
|
33
33
|
button_before: Tilbakekall før dato
|
|
34
|
-
destroy_ok: Alle matchede autorisasjoner er nå tilbakekallet.
|
|
35
34
|
info: Det er totalt %{count} bekreftede deltakere.
|
|
36
35
|
title: Tilbakekall av autorisasjoner
|
|
37
36
|
authorization_workflows: Autorisasjoner
|
data/config/locales/pl.yml
CHANGED
|
@@ -44,7 +44,6 @@ pl:
|
|
|
44
44
|
destroy:
|
|
45
45
|
confirm: Unieważnienie przed autoryzacjami dat nie może zostać cofnięte. Czy na pewno chcesz kontynuować?
|
|
46
46
|
confirm_all: Unieważnienie wszystkich autoryzacji nie może zostać cofnięte. Czy na pewno chcesz kontynuować?
|
|
47
|
-
destroy_ok: Pomyślnie wycofano wszystkie autoryzacje spełniające kryteria.
|
|
48
47
|
info: 'Całkowita liczba zweryfikowanych użytkowników: %{count}.'
|
|
49
48
|
no_data: Brak zweryfikowanych uczestników.
|
|
50
49
|
title: Wycofanie autoryzacji
|
data/config/locales/pt-BR.yml
CHANGED
|
@@ -49,7 +49,6 @@ pt-BR:
|
|
|
49
49
|
confirm: Revogar antes da data as autorizações não podem ser desfeitas. Tem certeza que deseja continuar?
|
|
50
50
|
confirm_all: Revogar todas as autorizações não podem ser desfeito. Tem certeza que deseja continuar?
|
|
51
51
|
destroy_nok: Ocorreu um problema ao revogar as autorizações.
|
|
52
|
-
destroy_ok: Todas as autorizações correspondentes foram revogadas com sucesso.
|
|
53
52
|
info: Há um total de %{count} participantes verificados.
|
|
54
53
|
no_data: Nenhum participante verificado.
|
|
55
54
|
title: Revogação de Autorizações
|
data/config/locales/pt.yml
CHANGED
|
@@ -31,7 +31,6 @@ pt:
|
|
|
31
31
|
before_date_info: Útil caso o processo já tenha sido iniciado e pretenda revogar as permissões do processo anterior.
|
|
32
32
|
button: Revogar tudo
|
|
33
33
|
button_before: Revogar antes de data
|
|
34
|
-
destroy_ok: Todas as autorizações correspondentes foram revogadas com êxito.
|
|
35
34
|
info: Existe um total de %{count} participantes verificados.
|
|
36
35
|
title: Revogação de autorizações
|
|
37
36
|
authorization_workflows: Autorizações
|
data/config/locales/ro-RO.yml
CHANGED
|
@@ -37,7 +37,6 @@ ro:
|
|
|
37
37
|
before_date_info: Este util dacă procesul a început deja și dorești să revoci drepturile procesului anterior.
|
|
38
38
|
button: Revocați toate autorizările
|
|
39
39
|
button_before: Revocați toate autorizările înainte de data
|
|
40
|
-
destroy_ok: Toate autorizațiile corelate au fost revocate.
|
|
41
40
|
info: Există un total de %{count} participanți verificați.
|
|
42
41
|
title: Revocarea autorizațiilor
|
|
43
42
|
authorization_workflows: Autorizări
|
data/config/locales/sk.yml
CHANGED
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
sk:
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
|
+
authorization:
|
|
6
|
+
verification_attachment: Príloha overenia
|
|
7
|
+
census_data:
|
|
8
|
+
file: Súbor
|
|
5
9
|
config:
|
|
6
10
|
available_methods: Dostupné metódy
|
|
7
11
|
offline: Offline
|
|
8
12
|
offline_explanation: Pokyny pre overenie offline
|
|
9
13
|
online: Online
|
|
14
|
+
confirmation:
|
|
15
|
+
verification_code: Overovací kód
|
|
10
16
|
id_document_information:
|
|
11
17
|
document_number: Číslo dokumentu (s písmenom)
|
|
12
18
|
document_type: Typ dokumentu
|
|
@@ -15,6 +21,8 @@ sk:
|
|
|
15
21
|
document_type: Typ dokumentu
|
|
16
22
|
user: Užívateľ
|
|
17
23
|
verification_attachment: Naskenované kópie dokumentu
|
|
24
|
+
mobile_phone:
|
|
25
|
+
mobile_phone_number: Číslo mobilného telefónu
|
|
18
26
|
offline_confirmation:
|
|
19
27
|
email: Užívateľský email
|
|
20
28
|
postal_letter_address:
|
|
@@ -24,6 +32,12 @@ sk:
|
|
|
24
32
|
postal_letter_postage:
|
|
25
33
|
full_address: Celá adresa
|
|
26
34
|
verification_code: Overovací kód
|
|
35
|
+
errors:
|
|
36
|
+
models:
|
|
37
|
+
census_data:
|
|
38
|
+
attributes:
|
|
39
|
+
file:
|
|
40
|
+
malformed: Chybný súbor importu, pozorne si prečítajte pokyny a uistite sa, že súbor je kódovaný v UTF-8.
|
|
27
41
|
decidim:
|
|
28
42
|
admin:
|
|
29
43
|
menu:
|
|
@@ -31,54 +45,185 @@ sk:
|
|
|
31
45
|
before_date_info: Užitočné, pokiaľ už proces začal, a chcete zrušiť povolenia, nastavené v predchádzajúcom procese.
|
|
32
46
|
button: Zrušiť všetky
|
|
33
47
|
button_before: Zrušiť všetky pred dátumom
|
|
48
|
+
destroy:
|
|
49
|
+
confirm: Zrušenie autorizácií pred dátumom nie je možné vrátiť späť. Naozaj chcete pokračovať?
|
|
50
|
+
confirm_all: Zrušenie všetkých autorizácií nie je možné vrátiť späť. Naozaj chcete pokračovať?
|
|
51
|
+
destroy_nok: Pri rušení autorizácií sa vyskytol problém.
|
|
34
52
|
info: Je tu celkovo %{count} overených účastníkov.
|
|
53
|
+
no_data: Žiadni overení účastníci.
|
|
54
|
+
title: Zrušenie autorizácií
|
|
55
|
+
authorization_workflows: Autorizácie
|
|
56
|
+
admin_log:
|
|
57
|
+
organization:
|
|
58
|
+
update_id_documents_config: "%{user_name} aktualizoval konfiguráciu autorizácie dokladov totožnosti"
|
|
59
|
+
user:
|
|
60
|
+
grant_id_documents_offline_verification: "%{user_name} overil %{resource_name} pomocou offline autorizácie dokladov totožnosti"
|
|
35
61
|
authorization_handlers:
|
|
36
62
|
admin:
|
|
63
|
+
another_dummy_authorization_handler:
|
|
64
|
+
help:
|
|
65
|
+
- Príklad obsluhy autorizácie, aby vývojári pochopili, ako funguje jednoduché overenie.
|
|
66
|
+
- Je určený pre vývojárov, aby pochopili, ako implementovať vlastný systém overovania.
|
|
67
|
+
- Získajte overenie zadaním čísla pasu začínajúceho na „A“.
|
|
68
|
+
csv_census:
|
|
69
|
+
help:
|
|
70
|
+
- Administrátori nahrajú súbor CSV s e-mailmi prijatých účastníkov.
|
|
71
|
+
- Overiť sa môžu iba účastníci s e-mailom v tomto súbore CSV.
|
|
72
|
+
default:
|
|
73
|
+
help:
|
|
74
|
+
- Pomocník pre obsluhu autorizácie nie je definovaný.
|
|
75
|
+
- Vývojár musí definovať pomocníka v prekladovom (i18n) kľúči "%{authorization_handler}"
|
|
76
|
+
dummy_authorization_handler:
|
|
77
|
+
help:
|
|
78
|
+
- Príklad obsluhy autorizácie, aby vývojári pochopili, ako funguje jednoduché overenie.
|
|
79
|
+
- Je určený pre vývojárov, aby pochopili, ako implementovať vlastný systém overovania.
|
|
80
|
+
- Nechajte sa overiť zadaním čísla dokladu končiaceho na "X".
|
|
81
|
+
ephemeral_dummy_authorization_handler:
|
|
82
|
+
help:
|
|
83
|
+
- Príklad dočasnej obsluhy autorizácie, aby vývojári pochopili, ako funguje jednoduché overenie.
|
|
84
|
+
- Je určený pre vývojárov, aby pochopili, ako implementovať vlastný systém overovania.
|
|
85
|
+
- Je to kópia príkladu autorizácie.
|
|
86
|
+
- Nechajte sa overiť zadaním čísla dokladu končiaceho na "X".
|
|
37
87
|
id_documents:
|
|
38
88
|
help:
|
|
39
89
|
- Užívatelia vyplní informácie o svojej identite a nahrajú kópiu dokumentu.
|
|
40
90
|
- Vyplníte informácie obsiahnuté v nahranom obrázku.
|
|
41
91
|
- Informácie by mali zodpovedať používateľovi, ktorý vyplnil.
|
|
42
|
-
-
|
|
92
|
+
- Ak informácie nevidíte jasne alebo ich nemôžete overiť, môžete žiadosť zamietnuť a používateľ ju bude môcť opraviť.
|
|
43
93
|
postal_letter:
|
|
44
94
|
help:
|
|
45
95
|
- Užívatelia požadujú, aby ich adresa bola odoslaná certifikačnému kódu.
|
|
46
96
|
- Na adresu zasielate list s overovacím kódom.
|
|
47
97
|
- Označte písmeno ako odoslaný.
|
|
48
98
|
- Akonáhle označíte odoslanej písmeno, užívateľ bude schopný kód zadať a overiť.
|
|
99
|
+
sms:
|
|
100
|
+
help:
|
|
101
|
+
- Účastníci požiadajú o zaslanie overovacieho kódu na ich telefón.
|
|
102
|
+
- Na overenie musia zadať kód.
|
|
103
|
+
- Ak kód nedostanú, môžu oň požiadať znova.
|
|
49
104
|
csv_census:
|
|
105
|
+
explanation: Nechajte sa overiť pomocou registra organizácie.
|
|
50
106
|
name: Sčítanie organizácie
|
|
51
107
|
direct: Priamo
|
|
52
108
|
help: Pomoc
|
|
53
109
|
id_documents:
|
|
110
|
+
explanation: Nahrajte svoje doklady totožnosti, aby sme mohli overiť vašu totožnosť.
|
|
54
111
|
name: Doklady totožnosti
|
|
55
112
|
multistep: Viac krokov
|
|
56
113
|
name: názov
|
|
57
114
|
postal_letter:
|
|
115
|
+
explanation: Pošleme vám list s kódom, ktorý budete musieť zadať, aby sme mohli overiť vašu adresu.
|
|
58
116
|
name: Kód poštou
|
|
117
|
+
events:
|
|
118
|
+
verifications:
|
|
119
|
+
verify_with_managed_user:
|
|
120
|
+
email_intro: Účastník <a href="%{resource_url}">%{resource_title}</a> sa pokúsil overiť údajmi iného účastníka (<a href="%{managed_user_url}">%{managed_user_name}</a>).
|
|
121
|
+
email_outro: Skontrolujte <a href="%{conflicts_url}">zoznam konfliktov overení</a> a kontaktujte účastníka, aby ste overili jeho údaje a vyriešili problém.
|
|
122
|
+
email_subject: Neúspešný pokus o overenie voči inému účastníkovi
|
|
123
|
+
notification_title: Účastník <a href="%{resource_path}">%{resource_title}</a> sa pokúsil overiť údajmi iného účastníka (<a href="%{managed_user_path}">%{managed_user_name}</a>).
|
|
59
124
|
verifications:
|
|
125
|
+
admin_log:
|
|
126
|
+
csv_datum:
|
|
127
|
+
create: "%{user_name} vytvoril nový záznam v registri s e-mailom %{resource_email}"
|
|
128
|
+
delete: "%{user_name} odstránil záznam v registri s e-mailom %{resource_email}"
|
|
129
|
+
import: "%{user_name} importoval %{imported_count} záznamov do registra"
|
|
130
|
+
update: "%{user_name} aktualizoval záznam v registri s e-mailom %{resource_email}"
|
|
60
131
|
authorizations:
|
|
61
132
|
authorization_metadata:
|
|
62
133
|
info: 'Údaje ku tejto verifikácii:'
|
|
63
134
|
no_data_stored: Žiadne uložené údaje.
|
|
64
135
|
create:
|
|
65
136
|
error: Pri vytváraní oprávnenia došlo k chybe.
|
|
137
|
+
success: Boli ste úspešne autorizovaní.
|
|
138
|
+
transferred: 'Na základe vašej autorizácie sme obnovili nasledujúce údaje o účasti:'
|
|
66
139
|
unconfirmed: Potrebujete potvrdiť svoj e-mail, aby ste sa autorizovali.
|
|
67
140
|
destroy:
|
|
68
141
|
error: Počas rušenia autorizácie nastal problém.
|
|
142
|
+
success: Úspešne ste odstránili autorizáciu.
|
|
69
143
|
index:
|
|
70
144
|
expired_verification: Overovací kód vypršal
|
|
145
|
+
granted_verification: Udelené overenie
|
|
146
|
+
introduce_code: Zadajte kód
|
|
147
|
+
pending_verification: Čakajúce overenie
|
|
71
148
|
show_renew_info: Kliknite na obnovenie verifikácie
|
|
149
|
+
subscribe: Odoberať
|
|
150
|
+
unauthorized_methods: Metódy overenia
|
|
72
151
|
new:
|
|
73
152
|
authorize: Odoslať
|
|
74
153
|
authorize_with: Overte pomocou %{authorizer}
|
|
154
|
+
tos_agreement: Overením svojej totožnosti prijímate %{link}.
|
|
155
|
+
onboarding_pending:
|
|
156
|
+
completed_verifications: Boli ste úspešne autorizovaní, teraz môžete %{action} v %{resource_name}
|
|
157
|
+
granted_verifications: Udelené overenia
|
|
158
|
+
onboarding_message_html: Ste takmer pripravení na %{action} v <strong>%{resource_title}</strong> %{resource_name}. Overte svoj účet dokončením nasledujúcich autorizácií.
|
|
159
|
+
pending_admin_approval_verifications: Overenia čakajúce na schválenie administrátorom
|
|
160
|
+
pending_verifications: Čakajúce overenia
|
|
161
|
+
unauthorized: Nemáte oprávnenie na %{action} v tomto zdroji
|
|
75
162
|
renew_modal:
|
|
76
163
|
cancel: zrušenie
|
|
77
164
|
continue: Pokračovať
|
|
165
|
+
info_renew: Ak chcete aktualizovať údaje, pokračujte v obnove.
|
|
78
166
|
title: Obnoviť verifikáciu
|
|
79
167
|
skip_verification: Môžete to teraz preskočiť a %{link}
|
|
80
168
|
start_exploring: začať skúmať
|
|
81
169
|
csv_census:
|
|
170
|
+
admin:
|
|
171
|
+
actions:
|
|
172
|
+
confirm_destroy: Naozaj chcete odstrániť tento záznam z registra?
|
|
173
|
+
destroy: Odstrániť
|
|
174
|
+
edit: Upraviť
|
|
175
|
+
census:
|
|
176
|
+
create_import:
|
|
177
|
+
error: Vyskytol sa problém pri importe registra.
|
|
178
|
+
no_user: Nenašiel sa žiadny používateľ
|
|
179
|
+
success: Úspešne sa importovalo %{count} položiek. Údaje spracovávame. Obnovte stránku o niekoľko minút, aby ste videli zmeny.
|
|
180
|
+
destroy:
|
|
181
|
+
success: Záznam z registra bol odstránený.
|
|
182
|
+
index:
|
|
183
|
+
empty: Neexistujú žiadne údaje v registri. Použite %{import_csv} na importovanie súboru CSV.
|
|
184
|
+
no_sign_in: Nikdy neprihlásený
|
|
185
|
+
no_user: Nenašiel sa žiadny používateľ
|
|
186
|
+
last_login:
|
|
187
|
+
no_sign_in: Nikdy neprihlásený
|
|
188
|
+
no_user: Žiadny používateľ
|
|
189
|
+
new_import:
|
|
190
|
+
errors:
|
|
191
|
+
email_exists: E-mailová adresa %{email} už v organizácii %{organization} existuje.
|
|
192
|
+
example: |
|
|
193
|
+
john.doe@example.org
|
|
194
|
+
jane.doe@example.org
|
|
195
|
+
info: 'Musí to byť súbor vo formáte CSV s iba jedným stĺpcom s e-mailovou adresou:'
|
|
196
|
+
submit: Nahrať súbor
|
|
197
|
+
title: Importovať údaje registra
|
|
198
|
+
upload_new_census: Nahrať nový register
|
|
199
|
+
census_records:
|
|
200
|
+
create_record:
|
|
201
|
+
success: Záznam do registra bol úspešne pridaný. Údaje spracovávame. Obnovte stránku o niekoľko minút, aby ste videli zmeny.
|
|
202
|
+
edit_record:
|
|
203
|
+
save: Uložiť
|
|
204
|
+
title: Upraviť záznam v registri
|
|
205
|
+
form:
|
|
206
|
+
email: E-mail
|
|
207
|
+
new_record:
|
|
208
|
+
save: Uložiť
|
|
209
|
+
title: Pridať nový záznam do registra
|
|
210
|
+
update_record:
|
|
211
|
+
invalid: Vyskytol sa problém pri aktualizácii záznamu v registri.
|
|
212
|
+
success: Záznam v registri bol úspešne aktualizovaný.
|
|
213
|
+
index:
|
|
214
|
+
add_new_record_button: Pridať nový záznam
|
|
215
|
+
authorized: Používateľ autorizovaný
|
|
216
|
+
fields:
|
|
217
|
+
actions: Akcie
|
|
218
|
+
created_at: Vytvorené
|
|
219
|
+
email: E-mail
|
|
220
|
+
user_authorized: Používateľ autorizovaný?
|
|
221
|
+
import_csv: Importovať CSV
|
|
222
|
+
no_authorized: Používateľ neautorizovaný
|
|
223
|
+
title: Aktuálne údaje registra
|
|
224
|
+
instructions:
|
|
225
|
+
body: Ak to chcete urobiť, musíte vstúpiť do správy systému a pridať autorizácie csv_census do organizácie
|
|
226
|
+
title: Pre túto organizáciu musíte aktivovať register CSV
|
|
82
227
|
authorizations:
|
|
83
228
|
new:
|
|
84
229
|
error: Váš účet nebol overený, alebo nie ste v sčítanie organizácie.
|
|
@@ -90,6 +235,15 @@ sk:
|
|
|
90
235
|
few: 'Účasť je obmedzená na používateľov s niektorým z nasledujúcich poštových smerovacích čísel:%{postal_codes}.'
|
|
91
236
|
many: 'Účasť je obmedzená na používateľov s niektorým z nasledujúcich poštových smerovacích čísel:%{postal_codes}.'
|
|
92
237
|
other: 'Účasť je obmedzená na používateľov s niektorým z nasledujúcich poštových smerovacích čísel:%{postal_codes}.'
|
|
238
|
+
user_postal_codes:
|
|
239
|
+
one: Účasť je obmedzená na účastníkov s PSČ %{postal_codes} a vaše PSČ je %{user_postal_code}.
|
|
240
|
+
few: 'Účasť je obmedzená na účastníkov s niektorým z nasledujúcich PSČ: %{postal_codes}. Vaše PSČ je %{user_postal_code}.'
|
|
241
|
+
many: 'Účasť je obmedzená na účastníkov s niektorým z nasledujúcich PSČ: %{postal_codes}. Vaše PSČ je %{user_postal_code}.'
|
|
242
|
+
other: 'Účasť je obmedzená na účastníkov s niektorým z nasledujúcich PSČ: %{postal_codes}. Vaše PSČ je %{user_postal_code}.'
|
|
243
|
+
errors:
|
|
244
|
+
invalid_emails: 'Nasledujúce e-mailové adresy sú neplatné: %{invalid_emails}.'
|
|
245
|
+
no_emails: Súbor musí obsahovať e-maily
|
|
246
|
+
wrong_number_columns: "Očakávalo sa %{expected} stĺpcov, ale našlo sa %{actual}."
|
|
93
247
|
id_documents:
|
|
94
248
|
admin:
|
|
95
249
|
config:
|
|
@@ -98,13 +252,22 @@ sk:
|
|
|
98
252
|
update: Aktualizácia
|
|
99
253
|
update:
|
|
100
254
|
error: Pri aktualizácii konfigurácie došlo k chybe.
|
|
255
|
+
success: Konfigurácia bola úspešne aktualizovaná.
|
|
101
256
|
confirmations:
|
|
257
|
+
create:
|
|
258
|
+
error: Overenie sa nezhoduje. Skúste to znova alebo overenie zamietnite, aby ho účastník mohol opraviť.
|
|
259
|
+
success: Účastník bol úspešne overený.
|
|
102
260
|
new:
|
|
261
|
+
introduce_user_data: Zadajte údaje z obrázka
|
|
103
262
|
reject: Odmietnuť
|
|
104
263
|
verify: Overte
|
|
105
264
|
offline_confirmations:
|
|
265
|
+
create:
|
|
266
|
+
error: Overenie sa nezhoduje. Skúste to znova alebo povedzte účastníkovi, aby ho opravil.
|
|
267
|
+
success: Účastník bol úspešne overený.
|
|
106
268
|
new:
|
|
107
269
|
cancel: zrušenie
|
|
270
|
+
introduce_user_data: Zadajte e-mail účastníka a údaje z dokladu
|
|
108
271
|
verify: Overte
|
|
109
272
|
pending_authorizations:
|
|
110
273
|
index:
|
|
@@ -112,47 +275,83 @@ sk:
|
|
|
112
275
|
offline_verification: Overenie offline
|
|
113
276
|
title: Čakajúci overenie online
|
|
114
277
|
verification_number: 'Overenie #%{n}'
|
|
278
|
+
rejections:
|
|
279
|
+
create:
|
|
280
|
+
success: Overenie bolo zamietnuté. Účastník bude vyzvaný na opravu svojich dokladov.
|
|
115
281
|
authorizations:
|
|
116
282
|
choose:
|
|
117
283
|
choose_a_type: 'Vyberte, ako chcete overiť:'
|
|
118
284
|
offline: Offline
|
|
119
285
|
online: Online
|
|
120
286
|
title: Overte svoju identitu
|
|
287
|
+
create:
|
|
288
|
+
error: Vyskytol sa problém pri nahrávaní vášho dokladu.
|
|
289
|
+
success: Doklad bol úspešne nahraný.
|
|
121
290
|
edit:
|
|
291
|
+
being_reviewed: Kontrolujeme vaše doklady. Čoskoro budete overení.
|
|
122
292
|
offline: Použite overenie offline
|
|
123
293
|
online: Používajte overenie online
|
|
294
|
+
rejection_clarity: Uistite sa, že informácie sú na nahranom obrázku jasne viditeľné.
|
|
295
|
+
rejection_correctness: Uistite sa, že zadané informácie sú správne.
|
|
296
|
+
rejection_notice: Vyskytol sa problém s vaším overením. Skúste to znova.
|
|
124
297
|
send: Znovu požiadajte o overení
|
|
125
298
|
new:
|
|
126
299
|
send: Požiadajte o overenie
|
|
127
300
|
title: Nahrajte svoj doklad totožnosti
|
|
301
|
+
update:
|
|
302
|
+
error: Vyskytol sa problém pri opätovnom nahrávaní vášho dokladu.
|
|
303
|
+
success: Doklad bol úspešne opätovne nahraný.
|
|
304
|
+
identification_number: Identifikačné číslo
|
|
128
305
|
passport: Cestovný pas
|
|
129
306
|
postal_letter:
|
|
130
307
|
admin:
|
|
131
308
|
pending_authorizations:
|
|
132
309
|
index:
|
|
133
310
|
address: Adresa
|
|
311
|
+
already_sent: Poštový list už bol odoslaný a nemôže byť znova označený ako odoslaný.
|
|
134
312
|
letter_sent_at: List adresovaný na
|
|
135
313
|
mark_as_sent: Označiť ako odoslané
|
|
136
314
|
not_yet_sent: Doteraz nebola odoslaná
|
|
137
315
|
title: Prebiehajúce overovanie
|
|
138
316
|
username: Užívateľské meno
|
|
139
317
|
verification_code: Overovací kód
|
|
318
|
+
postages:
|
|
319
|
+
create:
|
|
320
|
+
error: Chyba pri označovaní listu ako odoslaného.
|
|
321
|
+
success: List bol úspešne označený ako odoslaný.
|
|
140
322
|
authorizations:
|
|
323
|
+
create:
|
|
324
|
+
error: Vyskytol sa problém s vašou požiadavkou.
|
|
325
|
+
success: Ďakujeme! Na vašu adresu pošleme overovací kód.
|
|
141
326
|
edit:
|
|
142
327
|
send: Potvrdiť
|
|
328
|
+
title: Zadajte overovací kód, ktorý ste dostali.
|
|
329
|
+
waiting_for_letter: Čoskoro vám na vašu adresu pošleme list s overovacím kódom.
|
|
143
330
|
new:
|
|
144
331
|
send: Pošlite mi list
|
|
145
332
|
title: Požiadajte o overovací kód
|
|
333
|
+
update:
|
|
334
|
+
error: Váš overovací kód sa nezhoduje s naším. Prosím, skontrolujte list, ktorý sme vám poslali.
|
|
335
|
+
success: Gratulujeme. Boli ste úspešne overení.
|
|
146
336
|
sms:
|
|
147
337
|
authorizations:
|
|
338
|
+
create:
|
|
339
|
+
error: Vyskytol sa problém s vašou požiadavkou.
|
|
340
|
+
success: Ďakujeme! Poslali sme SMS na váš telefón.
|
|
341
|
+
destroy:
|
|
342
|
+
success: Overovací kód bol úspešne obnovený. Prosím, znova zadajte svoje telefónne číslo.
|
|
148
343
|
edit:
|
|
149
344
|
confirm_destroy: Naozaj chcete obnoviť overovací kód?
|
|
150
345
|
destroy: Obnoviť overovací kód
|
|
346
|
+
resend: Nedostali ste overovací kód?
|
|
151
347
|
send: Potvrdiť
|
|
152
348
|
title: Zadajte overovací kód, ktorý ste obdržali
|
|
153
349
|
new:
|
|
154
350
|
send: Pošlite mi SMS
|
|
155
351
|
title: Požiadajte o overovací kód
|
|
352
|
+
update:
|
|
353
|
+
error: Váš overovací kód sa nezhoduje s naším. Prosím, skontrolujte SMS, ktorú sme vám poslali.
|
|
354
|
+
success: Gratulujeme. Boli ste úspešne overení.
|
|
156
355
|
errors:
|
|
157
356
|
messages:
|
|
158
357
|
uppercase_only_letters_numbers: musia byť všetky veľké a obsahujú iba písmená a / alebo čísla
|
data/config/locales/sv.yml
CHANGED
|
@@ -49,7 +49,6 @@ sv:
|
|
|
49
49
|
confirm: Återkallande av auktorisering före datum kan inte ångras. Vill du fortsätta?
|
|
50
50
|
confirm_all: Återkallande av auktorisering kan inte ångras. Vill du fortsätta?
|
|
51
51
|
destroy_nok: Det gick inte att återkalla auktoriseringen.
|
|
52
|
-
destroy_ok: Alla matchade auktoriseringar har återkallats.
|
|
53
52
|
info: Det finns totalt %{count} verifierade deltagare.
|
|
54
53
|
no_data: Inga verifierade deltagare.
|
|
55
54
|
title: Återkallande av auktoriseringar
|
data/config/locales/tr-TR.yml
CHANGED
data/config/locales/zh-TW.yml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-verifications
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.31.
|
|
4
|
+
version: 0.31.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Rodriguez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: decidim-core
|
|
@@ -16,42 +16,42 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.31.
|
|
19
|
+
version: 0.31.6
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.31.
|
|
26
|
+
version: 0.31.6
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: decidim-admin
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.31.
|
|
33
|
+
version: 0.31.6
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.31.
|
|
40
|
+
version: 0.31.6
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: decidim-dev
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.31.
|
|
47
|
+
version: 0.31.6
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.31.
|
|
54
|
+
version: 0.31.6
|
|
55
55
|
description: Several verification methods for your decidim instance
|
|
56
56
|
email:
|
|
57
57
|
- deivid.rodriguez@riseup.net
|
|
@@ -76,10 +76,11 @@ files:
|
|
|
76
76
|
- app/commands/decidim/verifications/id_documents/admin/update_config.rb
|
|
77
77
|
- app/commands/decidim/verifications/perform_authorization_step.rb
|
|
78
78
|
- app/commands/decidim/verifications/revoke_all_authorizations.rb
|
|
79
|
-
- app/commands/decidim/verifications/
|
|
79
|
+
- app/commands/decidim/verifications/revoke_authorizations_by_condition.rb
|
|
80
80
|
- app/commands/decidim/verifications/revoke_by_name_authorizations.rb
|
|
81
81
|
- app/controllers/concerns/decidim/admin/workflows_breadcrumb.rb
|
|
82
82
|
- app/controllers/concerns/decidim/verifications/admin/filterable.rb
|
|
83
|
+
- app/controllers/concerns/decidim/verifications/admin/pending_authorization_loader.rb
|
|
83
84
|
- app/controllers/concerns/decidim/verifications/renewable.rb
|
|
84
85
|
- app/controllers/decidim/verifications/admin/verifications_controller.rb
|
|
85
86
|
- app/controllers/decidim/verifications/application_controller.rb
|
|
@@ -115,6 +116,8 @@ files:
|
|
|
115
116
|
- app/helpers/decidim/verifications/application_helper.rb
|
|
116
117
|
- app/jobs/decidim/verifications/csv_census/application_job.rb
|
|
117
118
|
- app/jobs/decidim/verifications/csv_census/process_census_data_job.rb
|
|
119
|
+
- app/jobs/decidim/verifications/revoke_all_authorizations_job.rb
|
|
120
|
+
- app/jobs/decidim/verifications/revoke_authorizations_by_condition_job.rb
|
|
118
121
|
- app/models/decidim/verifications/application_record.rb
|
|
119
122
|
- app/models/decidim/verifications/conflict.rb
|
|
120
123
|
- app/models/decidim/verifications/csv_census/data.rb
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Decidim
|
|
4
|
-
module Verifications
|
|
5
|
-
# A command to revoke authorizations with filter
|
|
6
|
-
class RevokeByConditionAuthorizations < Decidim::Command
|
|
7
|
-
delegate :current_user, to: :form
|
|
8
|
-
# Public: Initializes the command.
|
|
9
|
-
#
|
|
10
|
-
# organization - Organization object.
|
|
11
|
-
# current_user - The current user.
|
|
12
|
-
# form - A form object with the verification data to confirm it.
|
|
13
|
-
def initialize(organization, form)
|
|
14
|
-
@organization = organization
|
|
15
|
-
@form = form
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
# Executes the command. Broadcasts these events:
|
|
19
|
-
#
|
|
20
|
-
# - :ok when everything is valid.
|
|
21
|
-
# - :invalid if the handler was not valid and we could not proceed.
|
|
22
|
-
#
|
|
23
|
-
# Returns nothing.
|
|
24
|
-
def call
|
|
25
|
-
return broadcast(:invalid) unless @organization
|
|
26
|
-
return broadcast(:invalid) unless @form.valid?
|
|
27
|
-
|
|
28
|
-
# Check before date
|
|
29
|
-
if @form.before_date.present?
|
|
30
|
-
authorizations_to_revoke = if @form.impersonated_only?
|
|
31
|
-
Decidim::Verifications::AuthorizationsBeforeDate.new(
|
|
32
|
-
organization:,
|
|
33
|
-
date: @form.before_date,
|
|
34
|
-
granted: true,
|
|
35
|
-
impersonated_only: @form.impersonated_only
|
|
36
|
-
)
|
|
37
|
-
else
|
|
38
|
-
Decidim::Verifications::AuthorizationsBeforeDate.new(
|
|
39
|
-
organization:,
|
|
40
|
-
date: @form.before_date,
|
|
41
|
-
granted: true
|
|
42
|
-
)
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
auths = authorizations_to_revoke.query
|
|
46
|
-
auths.find_each do |auth|
|
|
47
|
-
Decidim.traceability.perform_action!(
|
|
48
|
-
:destroy,
|
|
49
|
-
auth,
|
|
50
|
-
current_user
|
|
51
|
-
) do
|
|
52
|
-
auth.destroy
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
broadcast(:ok)
|
|
57
|
-
|
|
58
|
-
else
|
|
59
|
-
broadcast(:invalid)
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
private
|
|
64
|
-
|
|
65
|
-
attr_reader :organization, :form
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
end
|