+ isEditableBy (user: AuthUser, videoStudioEnabled: boolean) {
+ return videoStudioEnabled &&
+ this.state?.id === VideoState.PUBLISHED &&
+ this.isUpdatableBy(user)
+ }
+
+ canSeeStats (user: AuthUser) {
+ return user && this.isLocal === true && (this.account.name === user.username || user.hasRight(UserRight.SEE_ALL_VIDEOS))
+ }
+