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

FEATURE: Complete the community privacy #74

Open
1 of 5 tasks
mbeps opened this issue May 10, 2023 · 2 comments
Open
1 of 5 tasks

FEATURE: Complete the community privacy #74

mbeps opened this issue May 10, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@mbeps
Copy link
Owner

mbeps commented May 10, 2023

Is your feature request related to a problem? Please describe.

Implement community privacy functionality:

  • Prevent private communities from being accessible if the user is not subscribed
  • Prevent users from posting on restricted communities if not subscribed

Describe the solution you'd like

  • If the user tries to go to a private community, they would be told that the community is private and do not have access to it
  • Private communities are not discoverable on the all communities page
  • Users can navigate to restricted communities however they cannot post

Describe alternatives you've considered

Remove community privacy all together

Importance

  • High
  • Medium
  • Low
@mbeps mbeps added the enhancement New feature or request label May 10, 2023
@mbeps
Copy link
Owner Author

mbeps commented May 10, 2023

This feature seems simple to implement in principle but it's actually pretty difficult.

If the user tries to go to a private community, they would be told that the community is private and do not have access to it
Private communities are not discoverable on the all communities page
Users can navigate to restricted communities however they cannot post

These are easy to implement but how would a user gain access to a private community?
Are there checks for subscribing to restricted communities?

@mbeps
Copy link
Owner Author

mbeps commented May 10, 2023

Allowing the admin of a community seems to be a sensible choice until you realise that the community does not know what users are subscribed to it, but the users know what communities they are subscribed to. This means that the subscribers must be queried first which is a tedious task on a non-relational database. This is possible but not ideal due to the limitations of the database design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant