[tenantadm] add account cancellation endpoint

Description

On calling this endpoint a canned email should be sent to support@mender.io using the corresponding workflows service (send_email worker).

Acceptance criteria:

  • the endpoint accepts an account cancellation request

    • the request should allow for a cancellation reason to be set

  • the sent email should contain:

    • tenantid

    • user id & user email of the cancelling account

    • cancellation reason

  • tests exist & pass

    • especially: the call to the workflows service is tested

Affects versions

None

Environment

None

Checklist

Activity

Show:

Fabio TranchitellaMay 20, 2020 at 8:48 AM

Fabio TranchitellaMay 5, 2020 at 3:32 AM

RBAC doesn't require additional work to implement this feature in tenantadm.

eystein.maloy.stenbergMay 4, 2020 at 9:54 PM

Thanks!

Might need to take RBAC into account (pls see parent Epic ).

Fabio TranchitellaMarch 24, 2020 at 7:44 AM

back-end wise is 5 SP. including implementation and tests.

eystein.maloy.stenbergMarch 23, 2020 at 7:03 PM

could you please estimate once you get the chance (I do not think this will fit on next sprint unless it is really small).

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

2

Sprint

Backlog

yes

Zendesk Support

Checklist

Created March 10, 2020 at 2:28 PM
Updated May 21, 2020 at 4:11 PM
Resolved May 21, 2020 at 4:11 PM