projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'release/v1.0.0' into develop
[oweals/peertube.git]
/
client
/
src
/
app
/
+admin
/
admin.component.ts
diff --git
a/client/src/app/+admin/admin.component.ts
b/client/src/app/+admin/admin.component.ts
index 75cd50cc7543caa7fb61b090a69853ddee939c4a..1a4dd67862d96460b57f1b24db192f9420171bfe 100644
(file)
--- a/
client/src/app/+admin/admin.component.ts
+++ b/
client/src/app/+admin/admin.component.ts
@@
-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)
+ }
}