Module: Decidim::Coauthorable

Extended by:
ActiveSupport::Concern
Included in:
DummyResources::CoauthorableDummyResource, Proposals::CollaborativeDraft, Proposals::Proposal
Defined in:
decidim-core/lib/decidim/coauthorable.rb

Overview

This concern contains the logic related to collective or shared authorship.

Coauthorable shares nearly the same object interface as Authorable but with some differences.

  • `authored_by?(user)` is exactly the same

  • `normalized_author` is now `identities`.

All coauthors, including the initial author, will share the same permissions.