Hello how are you?
I have a question, I have seen that peertube has three default roles. Is it possible to add a new one, along with its respective permissions and restrictions?
If possible, how would it be programmed?
Hello how are you?
I have a question, I have seen that peertube has three default roles. Is it possible to add a new one, along with its respective permissions and restrictions?
If possible, how would it be programmed?
Hello,
No sorry it’s not possible yet.
Thanks for the reply.
Nor can it be done by programming or by creating a plugin?
You can always modify the code (a.k.a. programming), but there is no API listed allowing a plugin to modify roles and permissions at the moment, c.f. PeerTube documentation
there is a file
PeerTube/shared/core-utils/users/user-role.ts
This can be modified to add new roles, do you also have to make more moifications at the code level?