+ canGetVideo (video: MVideoFullLight) {
+ const videoUserId = video.VideoChannel.Account.userId
+
+ if (video.isBlacklisted()) {
+ return videoUserId === this.id || this.hasRight(UserRight.MANAGE_VIDEO_BLACKLIST)
+ }
+
+ if (video.privacy === VideoPrivacy.PRIVATE) {
+ return video.VideoChannel && videoUserId === this.id || this.hasRight(UserRight.MANAGE_VIDEO_BLACKLIST)
+ }
+
+ if (video.privacy === VideoPrivacy.INTERNAL) return true
+
+ return false
+ }
+