Skip to content

Reimplement contributions for tasks #930

@florian-str

Description

@florian-str

It should be possible, that a user can create a contribution to a public task by another user.

The workflow is supposed to be the following:

  1. user B creates a contribution (T2)
  2. B saves the changes -> creates an "PR"
  3. An email gets sent to the members of A, which are users with write access to the original task (T1)
  4. On the page of T1, there should be a notification indicating a pending contribution
  5. A-users are able to approve or reject a task

In case of approval:

  • Comments on T2 get dropped
  • T1 gets replaced by T2
  • T2 gets dropped
  • all other pending contributions T3...Tn get rejected/ invalidated
  • Emails

In case of rejection or edit of T1:

  • T2 will be a "real duplicate"
  • Emails

If T2 gets withdrawn:

  • B can convert T2 to a real duplicate or select to delete the entry
  • Emails

Other constraints:

  • Each user may only create one active contribution per task
  • Contributions can't be added to groups or collections
  • Contributions can't modify the parent_uuid, license and access_level
  • Contributions don't have ratings
  • Contributions, which have not been answered for a certain (?) duration should be viewed as rejected

This issue could be implemented with the following steps:

  • Implementation of the basic workflow
  • Adding constraints to the contributions
  • Implementing the approval
  • Implementing the rejection/ withdraw/ change of original tasks
  • Quality of life improvements (e.g. showing changed files)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions