mirror of https://github.com/Chocobozzz/PeerTube
Don't manage remote channels
parent
d8aa370f3d
commit
0ffa7a0ef3
|
@ -105,6 +105,7 @@ export class VideoChannelsComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
isManageable () {
|
isManageable () {
|
||||||
|
if (!this.videoChannel.isLocal) return false
|
||||||
if (!this.isUserLoggedIn()) return false
|
if (!this.isUserLoggedIn()) return false
|
||||||
|
|
||||||
return this.isOwner() || this.authService.getUser().hasRight(UserRight.MANAGE_ANY_VIDEO_CHANNEL)
|
return this.isOwner() || this.authService.getUser().hasRight(UserRight.MANAGE_ANY_VIDEO_CHANNEL)
|
||||||
|
|
Loading…
Reference in New Issue