mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4508] [MERGED] HSB-497 chore: user deletetion if not solo team owner #4836
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4836
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4508
Author: @mirarifhasan
Created: 11/3/2024
Status: ✅ Merged
Merged: 11/5/2024
Merged by: @AndrewBastin
Base:
patch← Head:feat/user-delete-condition📝 Commits (2)
86ccefcchore: user delete if not solo owneref48f67refactor: isUserSoleOwnerInAnyTeam func📊 Changes
2 files changed (+32 additions, -19 deletions)
View changed files
📝
packages/hoppscotch-backend/src/admin/admin.service.ts(+6 -9)📝
packages/hoppscotch-backend/src/team/team.service.ts(+26 -10)📄 Description
Closes HSB-497
What's changed
This PR updated the user deletion. Previously if a user a team owner, that user can not be deleted.
Now, a user can be deleted if he is not solo team owner in any of teams.
Notes to reviewers
3 ways a user can be deleted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.