diff --git a/client/src/js/app/components/header.vue b/client/src/js/app/components/header.vue
index 35ae50c37..725221336 100644
--- a/client/src/js/app/components/header.vue
+++ b/client/src/js/app/components/header.vue
@@ -50,7 +50,6 @@
@@ -155,4 +154,4 @@ export default {
@apply tw-bg-center;
}
}
-
\ No newline at end of file
+
diff --git a/client/src/js/modules/types/em/menu.js b/client/src/js/modules/types/em/menu.js
index 7ac2a2b5f..c59410411 100644
--- a/client/src/js/modules/types/em/menu.js
+++ b/client/src/js/modules/types/em/menu.js
@@ -15,7 +15,7 @@ define([], function() {
},
admin: {
'dewars/overview': { title: 'Logistics', icon: 'fa-truck', permission: 'all_dewars' },
- faults: { title: 'Fault Reports', icon: 'fa-tasks' },
+ faults: { title: 'Fault Reports', icon: 'fa-tasks', permission: 'fault_view' },
},
}
})
diff --git a/client/src/js/modules/types/gen/menu.js b/client/src/js/modules/types/gen/menu.js
index f544cfa01..3e8c15f75 100644
--- a/client/src/js/modules/types/gen/menu.js
+++ b/client/src/js/modules/types/gen/menu.js
@@ -13,7 +13,7 @@ define([], function() {
},
admin: {
- faults: { title: 'Fault Reports', icon: 'fa-tasks' },
+ faults: { title: 'Fault Reports', icon: 'fa-tasks', permission: 'fault_view' },
},
}
diff --git a/client/src/js/modules/types/mx/menu.js b/client/src/js/modules/types/mx/menu.js
index 3b0d93a18..702e81862 100644
--- a/client/src/js/modules/types/mx/menu.js
+++ b/client/src/js/modules/types/mx/menu.js
@@ -28,8 +28,8 @@ define([], function() {
'stats/overview/beamlines': { title: 'Reporting', icon: 'fa-line-chart', permission: 'all_prop_stats' },
'admin/imaging': { title: 'Imaging', icon: 'fa-image', permission: 'imaging_dash' },
'dewars/overview': { title: 'Logistics', icon: 'fa-truck', permission: 'all_dewars' },
- statistics: { title: 'Stats', icon: 'fa-pie-chart' },
- faults: { title: 'Fault Reports', icon: 'fa-tasks' },
+ statistics: { title: 'Stats', icon: 'fa-pie-chart', permission: 'mx_admin' },
+ faults: { title: 'Fault Reports', icon: 'fa-tasks', permission: 'fault_view' },
},
}
})
diff --git a/client/src/js/modules/types/pow/menu.js b/client/src/js/modules/types/pow/menu.js
index 9fa33cde5..528ebc719 100644
--- a/client/src/js/modules/types/pow/menu.js
+++ b/client/src/js/modules/types/pow/menu.js
@@ -18,7 +18,7 @@ define([], function() {
},
admin: {
- faults: { title: 'Fault Reports', icon: 'fa-tasks' },
+ faults: { title: 'Fault Reports', icon: 'fa-tasks', permission: 'fault_view' },
},
}
diff --git a/client/src/js/modules/types/saxs/menu.js b/client/src/js/modules/types/saxs/menu.js
index 411dce34e..7daf5a76c 100644
--- a/client/src/js/modules/types/saxs/menu.js
+++ b/client/src/js/modules/types/saxs/menu.js
@@ -20,7 +20,7 @@ define([], function() {
admin: {
'runs/overview': { title: 'Run Overview', icon: 'fa-bar-chart', permission: 'all_breakdown' },
'dewars/overview': { title: 'Logistics', icon: 'fa-truck', permission: 'all_dewars' },
- faults: { title: 'Fault Reports', icon: 'fa-tasks' },
+ faults: { title: 'Fault Reports', icon: 'fa-tasks', permission: 'fault_view' },
},
}
diff --git a/client/src/js/modules/types/sp/menu.js b/client/src/js/modules/types/sp/menu.js
index 97c20a399..373330922 100644
--- a/client/src/js/modules/types/sp/menu.js
+++ b/client/src/js/modules/types/sp/menu.js
@@ -14,7 +14,7 @@ define([], function() {
},
admin: {
- faults: { title: 'Fault Reports', icon: 'fa-tasks' },
+ faults: { title: 'Fault Reports', icon: 'fa-tasks', permission: 'fault_view' },
},
}