mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3755] [CLOSED] feat: allow admins to delete invitations sent to users in the admin dashboard #4518
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#4518
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/3755
Author: @joeljstephen
Created: 1/17/2024
Status: ❌ Closed
Base:
release/2023.12.3← Head:feat/dashboard-user-invitation-revoke📝 Commits (8)
b9c36fafeat: revokeUserInviteByAdmin mutation added and invitedUsers query updated5fc9b56test: update test case for fetchInvitedUsers20e8b50chore: pass adminUid to service functionac0f3batest: added test case for revokeUserInvite functionf3387d0chore: update mutation name to revokeUserInvitationByAdmin0146d26refactor: implemented deletion for user invites3009d63refactor: new i18n strings for invited users58e0d56refactor: updated styles and i18n strings in invited users component📊 Changes
10 files changed (+281 additions, -85 deletions)
View changed files
📝
packages/hoppscotch-backend/src/admin/admin.resolver.ts(+29 -0)📝
packages/hoppscotch-backend/src/admin/admin.service.spec.ts(+60 -3)📝
packages/hoppscotch-backend/src/admin/admin.service.ts(+58 -6)📝
packages/hoppscotch-backend/src/admin/invited-user.model.ts(+6 -0)📝
packages/hoppscotch-backend/src/errors.ts(+5 -0)📝
packages/hoppscotch-backend/src/pubsub/topicsDefs.ts(+1 -1)📝
packages/hoppscotch-sh-admin/locales/en.json(+3 -0)📝
packages/hoppscotch-sh-admin/src/components.d.ts(+3 -53)➕
packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/RevokeUserInvitationByAdmin.graphql(+3 -0)📝
packages/hoppscotch-sh-admin/src/pages/users/invited.vue(+113 -22)📄 Description
Ticket
Description
This PR adds the ability for admins to delete invitations sent to users and remove the entries from the invited users table in the Admin Dashboard
Objectives
Screenshots
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.