feat(frontend): show run and cancel buttons to all users

Remove the auth.isAdmin guard from the Start check and Cancel check
buttons in the Activity Monitor. Admin-only route links (check history,
diagnostics) are unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Justin Visser 2026-03-03 23:02:37 +01:00
parent c6c89879c9
commit 17727187fd

View file

@ -404,7 +404,7 @@ watch(
</div> </div>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
<AppButton <AppButton
v-if="auth.isAdmin && runStatus.isLikelyRunning" v-if="runStatus.isLikelyRunning"
variant="danger" variant="danger"
:disabled="!activeRunId || isCancelAnimating" :disabled="!activeRunId || isCancelAnimating"
@click="onCancelRun" @click="onCancelRun"
@ -420,7 +420,6 @@ watch(
</span> </span>
</AppButton> </AppButton>
<AppButton <AppButton
v-if="auth.isAdmin"
:disabled="isStartBlocked" :disabled="isStartBlocked"
:title="startCheckDisabledReason || undefined" :title="startCheckDisabledReason || undefined"
:class="isStartCheckAnimating ? 'shadow-[0_0_0_1px_var(--color-state-info-border)]' : ''" :class="isStartCheckAnimating ? 'shadow-[0_0_0_1px_var(--color-state-info-border)]' : ''"