Sha256: 09d66a5ef29eb5047cee2aa4c489d6e049746feb5f514dd90ef7ae5b75d547e0
Contents?: true
Size: 736 Bytes
Versions: 3
Compression:
Stored size: 736 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryDocuments module ParticipatorySpaceUserRoleOverride extend ActiveSupport::Concern included do # there is a bug in decidim that does not clean records from ValuationAssignment when removing Space roles # This is a workaround to clean them manually # It might be possible that we need to change this when this is solved: # https://github.com/decidim/decidim/issues/10353 has_many :suggestion_valuation_assignments, class_name: "Decidim::ParticipatoryDocuments::ValuationAssignment", foreign_key: :valuator_role_id, dependent: :destroy end end end end
Version data entries
3 entries across 3 versions & 1 rubygems