Skip to content

Add privacy settings #4

@pedronave

Description

@pedronave

Is your feature request related to a problem? Please describe.
Right now all users' information is public. Ideally users should be able to choose who they share their play history and stats with.

Describe the solution you'd like
There could be three levels of privacy:

  • public - anyone (logged in or not) can see the stats
  • friends only - only friends can see the stats
  • private - only the user can see their own stats.

This requires implementing authorization in the GraphQL API.

As of right now, when the user signs in using Spotify, they will receive a JWT token with the user id and display name.
This token could be used for checking if the requesting user is friends with the requested user (if the requested user has their profile set to "friends only") or check if the requested and requesting users are the same (in the case of a "private" profile).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions