Module: Decidim::Coauthorable

Extended by:
ActiveSupport::Concern
Included in:
Decidim::CollaborativeTexts::Document, Dev::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

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