Skip to content

Design UI for managing API backend managers #343

@bajiat

Description

@bajiat

Create an UI for adding or deleting managers for a given API backend based on user email.

Wireframe

API Managers UI wireframe

Definition of done

Display manager emails

  • Create apiBackends collection helper to retrieve Meteor users based on the managerIds field
  • Create user interface to show of API managers for a given API.
    • Show name if available in user profile
    • Otherwise, show email (user.emails[0].address for example)
  • User interface should be in Bootstrap component
    • Each manager in list will have 'delete' or similar button (see below)

Add managers by email

  • Create user interface (text input with button) to enter new email address
    • When user inputs email address and clicks button, start invitation flow for new manager
  • For adding managers, implement invitation user flow.
    • Manager enters user email.
    • System emails user an invitation.
    • User clicks invitation link.
    • Registration step if user is not registered
    • System adds user ID to array.

Manage existing managers

  • Add delete button or trash can or equivalent for deleting managers.
    • Add confirmation for the action.
  • Check whether existing managers have update permission on the API backends collection.

Related documentation

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions