[Task]: Pinguino - Need API support for inviting developers / authors

Open
#16,509 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
api, backend

Research direction

Start with the linked discussion in mozilla/addons-server PR 25591 and the pending-author-create section of the authors API docs, which show that invites currently require a user_id. Decide with maintainers whether to add an internal email-to-user lookup or allow email invites, since the issue lists both options without choosing one. Done when an author can be invited by email from the pinguino author page and the chosen endpoint is covered by tests.

Written by the indexing model from the issue text.

Description

component:pinguino_devhub
Background / Context

From the work of the addons listing management in pinguino, it was discovered that the API currently only supports author addition/invites by user_id. The lookup for a user_id from an email doesn't exist.

Two options;

  1. Expose an internal endpoint for user lookup by email
  2. Allow for an invite to be sent to an email, and not just by user_id
ACs
  • Implement one of these options
  • Fix the pinguino author page to work with email invites

┆Issue is synchronized with this Jira Task

Dominant language
Makefile
Stars
135
Forks
52
Avg merge
6d 18h
Merged PRs (30d)
7

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/addons

All issues in mozilla/addons

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.