feat: allow guest dashboard browsing and authenticate only for interactive actions#408
Open
Deyanju23 wants to merge 3 commits into
Open
feat: allow guest dashboard browsing and authenticate only for interactive actions#408Deyanju23 wants to merge 3 commits into
Deyanju23 wants to merge 3 commits into
Conversation
|
@Deyanju23 is attempting to deploy a commit to the sheriffamina1-9497's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Deyanju23 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Owner
|
@Deyanju23 ci pipeline failed, there is a lint error |
Author
i've resolved both issues, kindly review and merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #389
Summary
Introduces a guest browsing experience that allows unauthenticated users to explore the website and view public dashboards without signing in. Authentication is required only when users attempt interactive actions such as saving, creating, exporting, or modifying data.
Changes
Guest Mode
Authentication Gates
Interactive actions now require authentication.
Protected actions include (where applicable):
When an unauthenticated user attempts one of these actions:
State Management
Implemented a reusable authentication guard/interceptor that:
Backend
Updated public read endpoints so dashboard GET requests can be accessed without authentication while preserving authorization for all protected operations.
Tests
Added/updated tests covering:
Documentation
Updated documentation describing:
Security
Testing
Executed:
npm test npm run buildNotes