mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Don't manage remote channels
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user