Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVE] Implement Guest Browsing with Limited Functionality #223

Open
7 tasks
parazeeknova opened this issue Jan 12, 2025 · 0 comments
Open
7 tasks

[IMPROVE] Implement Guest Browsing with Limited Functionality #223

parazeeknova opened this issue Jan 12, 2025 · 0 comments
Assignees
Labels
acwoc AcWoc contributions complexity: hard Complex changes, needs careful planning. component:all Related to fullstack priority: low Nice to have improvements or non-urgent fixes. SWOC SWOC contributions

Comments

@parazeeknova
Copy link
Owner

Description

Currently, Zephyr only allows logged-in users to access the application. To enhance accessibility and attract more users, we should allow non-logged-in users (guests) to browse the application with limited functionality. Guests will be able to scroll and view content but will not have access to interactive features like upvoting, viewing Zephyrians, following, or bookmarking etc.

Tasks

Backend:

  • Update authentication middleware to identify guest users.
  • Create a guest user session that allows read-only access.
  • Restrict specific API endpoints for guests (e.g., upvote, follow, bookmark).

Frontend

  • Implement UI changes for guests:
    Disable upvote buttons.
    Hide "View Zephyrians" and "Follow" options.
    Show a tooltip or message on interactive elements: "Log in to use this feature."
  • Add a banner or call-to-action encouraging guests to sign up/log in.

Testing

  • Test guest access to ensure they can view content but cannot interact with it.
  • Verify that logged-in users still have full functionality.

Acceptance Criteria

Guests can browse content without logging in.
Guests cannot interact with content (e.g., upvote, bookmark, follow).
Interactive features display a prompt to log in for access.
Logged-in users retain all current functionalities.

Notes

This will provide potential users a sneak peek into the platform, encouraging them to sign up.
Ensure this implementation does not compromise performance or security.
@parazeeknova parazeeknova added priority: low Nice to have improvements or non-urgent fixes. complexity: hard Complex changes, needs careful planning. component:all Related to fullstack SWOC SWOC contributions labels Jan 12, 2025
@parazeeknova parazeeknova self-assigned this Jan 12, 2025
@parazeeknova parazeeknova added the acwoc AcWoc contributions label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acwoc AcWoc contributions complexity: hard Complex changes, needs careful planning. component:all Related to fullstack priority: low Nice to have improvements or non-urgent fixes. SWOC SWOC contributions
Projects
None yet
Development

No branches or pull requests

1 participant