Add:Check for new episodes manual check and update last check time, Update:Adding new podcasts and downloading podcast episodes restricted to admin users

This commit is contained in:
advplyr committed 2022-04-29 16:42:40 -05:00
1 parent 8abda14e0f
commit 4185807da4
8 files changed
+76 -13

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ class ServerSettings {
this.backupSchedule = settings.backupSchedule || false
this.backupsToKeep = settings.backupsToKeep || 2
this.maxBackupSize = settings.maxBackupSize || 1
this.maxBackupSize = settings.maxBackupSize || 1
this.backupMetadataCovers = settings.backupMetadataCovers !== false
this.loggerDailyLogsToKeep = settings.loggerDailyLogsToKeep || 7
+3
View File
@@ -30,6 +30,9 @@ class User {
get isRoot() {
return this.type === 'root'
}
get isAdmin() {
return this.type === 'admin'
}
get canDelete() {
return !!this.permissions.delete && this.isActive
}