Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow super admins to delete organizations #2541

Open
wants to merge 1 commit into
base: adnan/allow-elevating-users-to-super-admin
Choose a base branch
from

Conversation

bttf
Copy link
Collaborator

@bttf bttf commented May 16, 2024

Targets #2528

Changes

  • Adds DELETE /admin/organizations/:orgId endpoint
    • Restricted to superAdmins
    • Appends 'organization.delete' event to audit log
  • Adds relevant UI to super admin dashboard to delete orgs
    • Deleting an org requires confirmation
  • Fixes inconsistency with how we store gb-last-picked-org in browser's local storage

Tested locally
Screenshot 2024-05-16 at 1 18 44 PM

Confirmation modal
image

@bttf bttf requested review from tzjames and jdorn May 16, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant