[PR #4495] [CLOSED] fix: Show clear message for users without workspace access #4646

Closed
opened 2026-02-22 18:36:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4495
Author: @nehaaprasad
Created: 10/5/2025
Status: Closed

Base: masterHead: feat/no-ws-msg


📝 Commits (4)

  • 5990cf4 feat: add NoWorkspaceAccess component for users without workspace permissions
  • d5a644c feat: add useWorkspaceAccess hook to check user workspace permissions
  • cb63d76 fix: update Main component to route users based on workspace access
  • 2cd2bef feat: add translation keys for no workspace access messages

📊 Changes

4 files changed (+133 additions, -2 deletions)

View changed files

frontend/src/components/NoWorkspaceAccess/index.jsx (+60 -0)
frontend/src/hooks/useWorkspaceAccess.js (+35 -0)
📝 frontend/src/locales/en/common.js (+10 -0)
📝 frontend/src/pages/Main/index.jsx (+28 -2)

📄 Description

  • when default users log in but aren't added to any workspaces, they previously saw confusing onboarding text.
  • This PR adds a dedicated component that clearly explains they need workspace access and provides guidance on contacting their admin/manager.

fixes: #4491

Changes:

  • New NoWorkspaceAccess component with helpful messaging
  • useWorkspaceAccess hook to check user permissions
  • Updated Main component routing logic
  • Added translation keys for the new messages

Impact: Reduces user confusion and support requests by providing clear guidance instead of misleading onboarding text.


🔄 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/Mintplex-Labs/anything-llm/pull/4495 **Author:** [@nehaaprasad](https://github.com/nehaaprasad) **Created:** 10/5/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/no-ws-msg` --- ### 📝 Commits (4) - [`5990cf4`](https://github.com/Mintplex-Labs/anything-llm/commit/5990cf426e93b612efccdddcf825a7963a44cfe2) feat: add NoWorkspaceAccess component for users without workspace permissions - [`d5a644c`](https://github.com/Mintplex-Labs/anything-llm/commit/d5a644cb184451817a66b6e8c56d6c9700becde3) feat: add useWorkspaceAccess hook to check user workspace permissions - [`cb63d76`](https://github.com/Mintplex-Labs/anything-llm/commit/cb63d761051f956995b4a5097199fdb30097ed84) fix: update Main component to route users based on workspace access - [`2cd2bef`](https://github.com/Mintplex-Labs/anything-llm/commit/2cd2bef9aa7b8f51f443525dfaff785a5492f446) feat: add translation keys for no workspace access messages ### 📊 Changes **4 files changed** (+133 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `frontend/src/components/NoWorkspaceAccess/index.jsx` (+60 -0) ➕ `frontend/src/hooks/useWorkspaceAccess.js` (+35 -0) 📝 `frontend/src/locales/en/common.js` (+10 -0) 📝 `frontend/src/pages/Main/index.jsx` (+28 -2) </details> ### 📄 Description - when default users log in but aren't added to any workspaces, they previously saw confusing onboarding text. - This PR adds a dedicated component that clearly explains they need workspace access and provides guidance on contacting their admin/manager. fixes: #4491 **Changes:** - New `NoWorkspaceAccess` component with helpful messaging - `useWorkspaceAccess` hook to check user permissions - Updated Main component routing logic - Added translation keys for the new messages **Impact:** Reduces user confusion and support requests by providing clear guidance instead of misleading onboarding text. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:15 -05:00
yindo closed this issue 2026-02-22 18:36:15 -05:00
yindo changed title from [PR #4495] fix: Show clear message for users without workspace access to [PR #4495] [CLOSED] fix: Show clear message for users without workspace access 2026-06-05 15:19:37 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4646