Skip to content

Feature/user visibility#3

Open
sinansoulier wants to merge 4 commits intodevfrom
feature/user-visibility
Open

Feature/user visibility#3
sinansoulier wants to merge 4 commits intodevfrom
feature/user-visibility

Conversation

@sinansoulier
Copy link

Added privacy features:

  • Updated User model :

    • Indicate through a boolean flag if a user is completely anonymous (or not)
    • Added list of users (per user) to whom profile visibility is given.
  • Added routes :

    • POST | /users/{id}/updateVisibility: Makes a user visible or invisible to all other users based on the given user ID
    • POST | /users/{id}/makeVisible: Makes a user visible to other users based on the given user ID
    • POST | /users/{id}/makeInvisible: Makes a user invisible to other users based on the given user ID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant