Sha256: e67e0c9935516275650835a7371d40102dbc0f7fafc0082eeb399d72c7e22c25

Contents?: true

Size: 688 Bytes

Versions: 3

Compression:

Stored size: 688 Bytes

Contents

# Authorship

Regarging authorship of Decidim resources/entities, there are three concerns
involved directly:

- `Decidim::ActsAsAuthor`: which defines how an author should behave.
- `Decidim::Authorable` and `Decidim::Coauthorable`: which define the behaviour
around who authored a resource.

But the presenters for the classes including `ActsAsAuthor` should also behave
in a certain maneer. This has been resolved using the duck typing strategy
(remember, if it quaks as as duck, then it is a duck). Thus, there's not any
interface declaring which are the methods to be implemented by the presenter
of an author. Anyway one of the `OfficialAuthorPresenter`s may be used as a
reference.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-0.21.0 docs/advanced/authorship.md
decidim-0.20.1 docs/advanced/authorship.md
decidim-0.20.0 docs/advanced/authorship.md