[PR #1134] [MERGED] fix: unauthorized access error api tokens page team #1417

Closed
opened 2026-02-26 19:33:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1134
Author: @catalinpit
Created: 5/1/2024
Status: Merged
Merged: 5/8/2024
Merged by: @dguyen

Base: mainHead: fix/api-tokens-page-team-access-error


📝 Commits (2)

  • 6e51e2c fix: unauthorized access error api tokens page team
  • a92d68a fix: refactor

📊 Changes

2 files changed (+28 additions, -2 deletions)

View changed files

📝 apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx (+21 -1)
📝 packages/lib/server-only/public-api/get-all-team-tokens.ts (+7 -1)

📄 Description

Description

Make it more intuitive by showing an error message on the team's api token page when a non-owner or a non-admin tries to access it.


🔄 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/documenso/documenso/pull/1134 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 5/1/2024 **Status:** ✅ Merged **Merged:** 5/8/2024 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `fix/api-tokens-page-team-access-error` --- ### 📝 Commits (2) - [`6e51e2c`](https://github.com/documenso/documenso/commit/6e51e2c4f51d8dc23b6ec155a61283c66ae05ed7) fix: unauthorized access error api tokens page team - [`a92d68a`](https://github.com/documenso/documenso/commit/a92d68adef0bb34031cff24f32f815e264c009d5) fix: refactor ### 📊 Changes **2 files changed** (+28 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx` (+21 -1) 📝 `packages/lib/server-only/public-api/get-all-team-tokens.ts` (+7 -1) </details> ### 📄 Description ## Description Make it more intuitive by showing an error message on the team's api token page when a non-owner or a non-admin tries to access it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:09 +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/documenso#1417
No description provided.