[PR #3162] [MERGED] [feat] : Allow admins to revoke a team invite (HBE-230) #4262

Closed
opened 2026-03-17 01:48:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3162
Author: @ankitsridhar16
Created: 6/27/2023
Status: Merged
Merged: 8/3/2023
Merged by: @ankitsridhar16

Base: release/2023.8.0Head: feat/admin-revoke-invite


📝 Commits (2)

  • 36c1228 feat: added functionality for admin to revoke team invite
  • cc0bf3e Merge branch 'release/2023.8.0' into feat/admin-revoke-invite

📊 Changes

2 files changed (+33 additions, -0 deletions)

View changed files

📝 packages/hoppscotch-backend/src/admin/admin.resolver.ts (+17 -0)
📝 packages/hoppscotch-backend/src/admin/admin.service.ts (+16 -0)

📄 Description

Closes # HBE-233

Description

Currently Admins can view pending invitations for a team, but they can't revoke an invitation. This PR introduces a mutation to revoke a team invite by invite ID that will be used from the admin dashboard.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

Testing Instructions:

  • Create a team and invite users by email
  • get pending invitations for the team by team ID
  • use revokeTeamInviteByAdmin mutation with a invite ID

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3162 **Author:** [@ankitsridhar16](https://github.com/ankitsridhar16) **Created:** 6/27/2023 **Status:** ✅ Merged **Merged:** 8/3/2023 **Merged by:** [@ankitsridhar16](https://github.com/ankitsridhar16) **Base:** `release/2023.8.0` ← **Head:** `feat/admin-revoke-invite` --- ### 📝 Commits (2) - [`36c1228`](https://github.com/hoppscotch/hoppscotch/commit/36c1228901ce3e3772877a9d030d21e0d8c4f900) feat: added functionality for admin to revoke team invite - [`cc0bf3e`](https://github.com/hoppscotch/hoppscotch/commit/cc0bf3e72957c4b8c8d254fd3ab1004c065ada55) Merge branch 'release/2023.8.0' into feat/admin-revoke-invite ### 📊 Changes **2 files changed** (+33 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-backend/src/admin/admin.resolver.ts` (+17 -0) 📝 `packages/hoppscotch-backend/src/admin/admin.service.ts` (+16 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes # HBE-233 ### Description Currently Admins can view pending invitations for a team, but they can't revoke an invitation. This PR introduces a mutation to revoke a team invite by invite ID that will be used from the admin dashboard. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. --> Testing Instructions: - Create a team and invite users by email - get pending invitations for the team by team ID - use `revokeTeamInviteByAdmin` mutation with a invite ID --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:48:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4262
No description provided.