]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/admin.component.ts
WIP plugins: list installed plugins in client
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / admin.component.ts
index 408de4837bcd21a8ebf1a1324b555f8efe37a0e7..b23999d404654c8306f34c8e44f47b342c21eb64 100644 (file)
@@ -28,6 +28,10 @@ export class AdminComponent {
     return this.auth.getUser().hasRight(UserRight.MANAGE_CONFIGURATION)
   }
 
+  hasPluginsRight () {
+    return this.auth.getUser().hasRight(UserRight.MANAGE_PLUGINS)
+  }
+
   hasLogsRight () {
     return this.auth.getUser().hasRight(UserRight.MANAGE_LOGS)
   }