Module: Decidim::Kids

Includes:
ActiveSupport::Configurable
Defined in:
lib/decidim/kids/version.rb,
lib/decidim/kids.rb,
lib/decidim/kids/admin.rb,
lib/decidim/kids/engine.rb,
lib/decidim/kids/age_methods.rb,
lib/decidim/kids/admin_engine.rb,
app/models/decidim/kids/minor_data.rb,
app/mailers/decidim/kids/kids_mailer.rb,
app/models/decidim/kids/minor_account.rb,
app/permissions/decidim/kids/permissions.rb,
app/commands/decidim/kids/authorize_minor.rb,
app/forms/decidim/kids/minor_account_form.rb,
app/models/decidim/kids/application_record.rb,
app/commands/decidim/kids/impersonate_minor.rb,
app/helpers/decidim/kids/application_helper.rb,
app/helpers/decidim/kids/user_minors_helper.rb,
app/models/decidim/kids/minors_space_config.rb,
app/models/decidim/kids/organization_config.rb,
app/forms/decidim/kids/impersonate_minor_form.rb,
app/commands/decidim/kids/create_minor_account.rb,
app/commands/decidim/kids/update_minor_account.rb,
app/forms/decidim/kids/admin/minors_space_form.rb,
app/jobs/decidim/kids/expire_impersonation_job.rb,
app/models/concerns/decidim/kids/user_override.rb,
app/commands/decidim/kids/destroy_minor_account.rb,
app/models/decidim/kids/impersonation_minor_log.rb,
app/controllers/decidim/kids/application_controller.rb,
app/controllers/decidim/kids/user_minors_controller.rb,
app/commands/decidim/kids/close_session_managed_minor.rb,
app/models/concerns/decidim/kids/static_page_override.rb,
app/controllers/concerns/decidim/kids/writes_minor_log.rb,
app/controllers/decidim/kids/authorizations_controller.rb,
app/models/concerns/decidim/kids/organization_override.rb,
app/controllers/concerns/decidim/kids/impersonate_minors.rb,
app/controllers/decidim/kids/admin/application_controller.rb,
app/controllers/decidim/kids/admin/minors_space_controller.rb,
app/controllers/concerns/decidim/kids/needs_adult_permission.rb,
app/controllers/decidim/kids/minor_impersonations_controller.rb,
app/commands/decidim/kids/admin/save_participatory_space_config.rb,
app/controllers/concerns/decidim/kids/needs_tutor_authorization.rb,
app/permissions/concerns/decidim/kids/admin/permissions_override.rb,
app/controllers/concerns/decidim/kids/has_minor_activities_as_own.rb,
app/forms/concerns/decidim/kids/system/organization_form_override.rb,
app/controllers/concerns/decidim/kids/disable_minors_participation.rb,
app/controllers/concerns/decidim/kids/has_decidim_kids_permissions.rb,
app/commands/concerns/decidim/kids/system/create_minors_default_pages.rb,
app/commands/concerns/decidim/kids/system/update_organization_override.rb,
app/commands/concerns/decidim/kids/system/register_organization_override.rb,
app/controllers/concerns/decidim/kids/participatory_space_context_override.rb

Overview

This holds the decidim-meetings version.

Defined Under Namespace

Modules: Admin, AgeMethods, ApplicationHelper, DisableMinorsParticipation, HasDecidimKidsPermissions, HasMinorActivitiesAsOwn, ImpersonateMinors, NeedsAdultPermission, NeedsTutorAuthorization, OrganizationOverride, ParticipatorySpaceContextOverride, StaticPageOverride, System, UserMinorsHelper, UserOverride, WritesMinorLog Classes: AdminEngine, ApplicationController, ApplicationRecord, AuthorizationsController, AuthorizeMinor, CloseSessionManagedMinor, CreateMinorAccount, DestroyMinorAccount, Engine, ExpireImpersonationJob, ImpersonateMinor, ImpersonateMinorForm, ImpersonationMinorLog, KidsMailer, MinorAccount, MinorAccountForm, MinorData, MinorImpersonationsController, MinorsSpaceConfig, OrganizationConfig, Permissions, UpdateMinorAccount, UserMinorsController

Constant Summary collapse

VERSION =
"0.1.0"
DECIDIM_VERSION =
"0.27.2"
COMPAT_DECIDIM_VERSION =
[">= 0.27", "< 0.28"].freeze

Class Method Summary collapse

Class Method Details

.valid_minor_workflowsObject

Only one-step authorization workflows are supported



83
84
85
# File 'lib/decidim/kids.rb', line 83

def self.valid_minor_workflows
  Decidim.authorization_workflows.filter(&:form)
end

.valid_tutor_workflowsObject



87
88
89
# File 'lib/decidim/kids.rb', line 87

def self.valid_tutor_workflows
  Decidim.authorization_workflows
end