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

Give plugins access to user object on the client #6355

Closed
kontrollanten opened this issue Apr 26, 2024 · 0 comments · Fixed by #6358
Closed

Give plugins access to user object on the client #6355

kontrollanten opened this issue Apr 26, 2024 · 0 comments · Fixed by #6358
Labels
Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development Type: Feature Request ✨

Comments

@kontrollanten
Copy link
Contributor

Describe the problem to be solved

We'd like to show menu items based on properties we've added to the user object on the server side.

Describe the solution you would like

Add a peertube helper function that returns the user object, including custom added properties from the filter:api.user.me.get.result filter.

kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Apr 26, 2024
Let plugins access the user object.

closes Chocobozzz#6355
kontrollanten added a commit to kontrollanten/PeerTube that referenced this issue Apr 26, 2024
Let plugins access the user object.

closes Chocobozzz#6355
Chocobozzz pushed a commit that referenced this issue May 17, 2024
Let plugins access the user object.

closes #6355
@Chocobozzz Chocobozzz added Type: Feature Request ✨ Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development Type: Feature Request ✨
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants