Don't manage remote channels
This commit is contained in:
parent
d8aa370f3d
commit
0ffa7a0ef3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue