cloudfoundry / cloudfoundry/stratos

Add `delete user` action item menu

Open
#3,379 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

  • Extra option in user menu item
  • cf admins only
  • Consider also multi user action item
  • Follow cf delete-user flow (delete from cf, delete from uaa)
    • GET /Users?attributes=id,userName&filter=userName+Eq+%22%22
      • Host: uaa.local.pcfdev.io
    • DELETE /v2/users/< id from above >?async=true
      • Host: api.local.pcfdev.io
    • GET /v2/jobs/e4059441-ab0e-45a2-90ed-802a768ef2a0
      • Host: api.local.pcfdev.io
    • DELETE /Users/4b61a602-bd58-4fb0-a96a-24a82cc5ff09 HTTP/1.1
      • Host: uaa.local.pcfdev.io

Contributor guide

Open the 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.

Research direction

Start by tracing the existing cf delete-user flow and the user menu item in the Stratos UI. Use the listed UAA and Cloud Foundry endpoints to understand the deletion sequence, including the asynchronous job, and verify that the new action is visible only to Cloud Foundry administrators. Done means an admin can delete a user from both systems through the menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
api, authentication, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.