styleUrls: [ './moderation.component.scss' ]
})
export class ModerationComponent implements OnInit {
- autoBlacklistVideosEnabled = false
+ autoBlockVideosEnabled = false
constructor (
private auth: AuthService,
ngOnInit (): void {
this.serverService.getConfig()
- .subscribe(config => this.autoBlacklistVideosEnabled = config.autoBlacklist.videos.ofUsers.enabled)
+ .subscribe(config => this.autoBlockVideosEnabled = config.autoBlacklist.videos.ofUsers.enabled)
}
return this.auth.getUser().hasRight(UserRight.MANAGE_VIDEO_ABUSES)
}
- hasVideoBlacklistRight () {
+ hasVideoBlocklistRight () {
return this.auth.getUser().hasRight(UserRight.MANAGE_VIDEO_BLACKLIST)
}