1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Ability for admins to set default upload values

This commit is contained in:
Chocobozzz 2021-12-14 17:17:01 +01:00
parent a6f919e455
commit 3cf68b869d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
31 changed files with 467 additions and 89 deletions

View file

@ -55,6 +55,15 @@ class ServerConfigManager {
}
},
defaults: {
publish: {
downloadEnabled: CONFIG.DEFAULTS.PUBLISH.DOWNLOAD_ENABLED,
commentsEnabled: CONFIG.DEFAULTS.PUBLISH.COMMENTS_ENABLED,
privacy: CONFIG.DEFAULTS.PUBLISH.PRIVACY,
licence: CONFIG.DEFAULTS.PUBLISH.LICENCE
}
},
webadmin: {
configuration: {
edition: {