mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3786] [MERGED] HSB-358 feat: admin user management (backend) #4530
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#4530
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/3786
Author: @mirarifhasan
Created: 1/30/2024
Status: ✅ Merged
Merged: 2/21/2024
Merged by: @AndrewBastin
Base:
release/2024.3.0← Head:feat/admin-user-management-backend📝 Commits (10+)
5368c52feat: user invitation revoke mutation added1df2520test: revokeUserInvite test case added3ff6cc5feat: fetchInvitedUsers logic updated88bca20feat: added pagination on fetchInvitedUsersabaddd9feat: fetchAllUsersV2 added with search-sort-offset pagination9ceef43feat: change fetchAllUsersV2 to fetchAllUsersa4c889efeat: update user display name mutation added2a667a7feat: removed deprecated resolvefieldsda606f5feat: bulk user to admin mutation added2bde3f8feat: removeUsersAsAdmin mutation added📊 Changes
10 files changed (+4762 additions, -10063 deletions)
View changed files
📝
packages/hoppscotch-backend/src/admin/admin.resolver.ts(+103 -203)📝
packages/hoppscotch-backend/src/admin/admin.service.spec.ts(+127 -3)📝
packages/hoppscotch-backend/src/admin/admin.service.ts(+176 -3)📝
packages/hoppscotch-backend/src/admin/infra.resolver.ts(+32 -4)📝
packages/hoppscotch-backend/src/errors.ts(+15 -0)📝
packages/hoppscotch-backend/src/types/input-types.args.ts(+18 -0)📝
packages/hoppscotch-backend/src/user/user.model.ts(+19 -0)📝
packages/hoppscotch-backend/src/user/user.service.spec.ts(+112 -1)📝
packages/hoppscotch-backend/src/user/user.service.ts(+113 -1)📝
pnpm-lock.yaml(+4047 -9848)📄 Description
Closes HSB-358
Description
This PR introduces the following features (for Admin Dashboard) in the
hoppscotch-backendpackage:Checks
How to Test
The following mutation/queries are created/updated. Testing these operations will be good.
New Mutations::
Updated Queries::
Additional Information
Nil
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.