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

Possibility to put users in groups to access private videos #6219

Open
kontrollanten opened this issue Feb 12, 2024 · 0 comments
Open

Possibility to put users in groups to access private videos #6219

kontrollanten opened this issue Feb 12, 2024 · 0 comments

Comments

@kontrollanten
Copy link
Contributor

kontrollanten commented Feb 12, 2024

Describe the problem to be solved

We'd like to group users that's donating money in order to be able to provide them with some "donators only" videos.

Describe the solution you would like

Solution alternatives

Alternative 1: Scalable solution

  • Possibility to add user groups via the web interface.
  • Possibility to add/remove users from groups via web interface.
  • Possibility to set which groups can see specific videos.

This would be an easy solution for web admins and can be well integrated to the user management in Peertube. But it will add a lot of new features to Peertube, which has to be maintained.

Alternative 2: Easy to implement solution

  • Adding a filter:api.user.me.get.result API from where plugin developers can add custom attributes/data to users in order to group them

In this way plugin developers can create custom API endpoints to add/remove users from groups and store the result with storageManager. The upside with this solution is the small burden laid on Peertube core.

@Chocobozzz Chocobozzz changed the title Possibility to group users Possibility to put users in group to access private videos Feb 26, 2024
@Chocobozzz Chocobozzz changed the title Possibility to put users in group to access private videos Possibility to put users in groups to access private videos Feb 26, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 26, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 26, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 26, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 27, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 27, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 27, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 27, 2024
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Mar 27, 2024
Chocobozzz pushed a commit that referenced this issue Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants