1
0
Fork 0

Don't manage remote channels

This commit is contained in:
Chocobozzz 2022-02-10 10:41:22 +01:00
parent d8aa370f3d
commit 0ffa7a0ef3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ export class VideoChannelsComponent implements OnInit, OnDestroy {
}
isManageable () {
if (!this.videoChannel.isLocal) return false
if (!this.isUserLoggedIn()) return false
return this.isOwner() || this.authService.getUser().hasRight(UserRight.MANAGE_ANY_VIDEO_CHANNEL)