iconName: 'cross'
})
}
+ if (this.hasVideoCommentsRight()) {
+ moderationItems.children.push({
+ label: $localize`Video comments`,
+ routerLink: '/admin/moderation/video-comments/list',
+ iconName: 'message-circle'
+ })
+ }
if (this.hasAccountsBlocklistRight()) {
moderationItems.children.push({
label: $localize`Muted accounts`,
hasDebugRight () {
return this.auth.getUser().hasRight(UserRight.MANAGE_DEBUG)
}
+
+ hasVideoCommentsRight () {
+ return this.auth.getUser().hasRight(UserRight.SEE_ALL_COMMENTS)
+ }
}