]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/admin.component.ts
Translate subtitle langs in player
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / admin.component.ts
index 75cd50cc7543caa7fb61b090a69853ddee939c4a..1a4dd67862d96460b57f1b24db192f9420171bfe 100644 (file)
@@ -28,4 +28,8 @@ export class AdminComponent {
   hasJobsRight () {
     return this.auth.getUser().hasRight(UserRight.MANAGE_JOBS)
   }
+
+  hasConfigRight () {
+    return this.auth.getUser().hasRight(UserRight.MANAGE_CONFIGURATION)
+  }
 }