diff --git a/src/Frontend/src/components/configuration/UserPermissions.vue b/src/Frontend/src/components/configuration/UserPermissions.vue index 4f1eaccbe..f7c559641 100644 --- a/src/Frontend/src/components/configuration/UserPermissions.vue +++ b/src/Frontend/src/components/configuration/UserPermissions.vue @@ -73,6 +73,7 @@ export const groups: ApplicationCapabilityGroup[] = [ capabilities: [ { label: "View", ref: ApiRoutes.viewEndpoints }, { label: "View heartbeats", ref: ApiRoutes.viewHeartbeats }, + { label: "Manage heartbeat tracking", ref: ApiRoutes.manageEndpointSettings }, { label: "Remove instance", ref: ApiRoutes.deleteEndpointInstance }, ], }, @@ -93,7 +94,7 @@ import FAIcon from "@/components/FAIcon.vue"; import ConditionalRender from "@/components/ConditionalRender.vue"; import { useAllowedRoutes } from "@/composables/useAllowedRoutes"; -const { canCall, supported } = useAllowedRoutes(); +const { canCall, supported, roles } = useAllowedRoutes(); const rows = computed(() => groups.map((g) => ({ @@ -108,6 +109,11 @@ const rows = computed(() =>