)}
diff --git a/client/src/components/SidePanel/Schedules/__tests__/Consent.spec.tsx b/client/src/components/SidePanel/Schedules/__tests__/Consent.spec.tsx
index 81a4ab486b..022f64aafe 100644
--- a/client/src/components/SidePanel/Schedules/__tests__/Consent.spec.tsx
+++ b/client/src/components/SidePanel/Schedules/__tests__/Consent.spec.tsx
@@ -371,13 +371,34 @@ describe('a grant that can be made for the whole agent', () => {
jest.mocked(dataService.confirmScheduleMCPConsent).mockResolvedValue(asked);
display();
expect(await whole()).toBeChecked();
- expect(screen.getByText('com_ui_schedule_consent_everything_asking')).toBeVisible();
+ const keep = screen.getByRole('checkbox', {
+ name: 'com_ui_schedule_consent_everything_asking',
+ });
+ expect(keep).toBeChecked();
await userEvent.click(confirm());
await waitFor(() => expect(dataService.confirmScheduleMCPConsent).toHaveBeenCalled());
// Left out, the server keeps what the stored grant asks about.
expect(jest.mocked(dataService.confirmScheduleMCPConsent).mock.calls[0][1]).not.toHaveProperty(
'ask',
);
+ // The owner stops it, here, with the whole agent still ticked.
+ await userEvent.click(keep);
+ await userEvent.click(confirm());
+ await waitFor(() => expect(dataService.confirmScheduleMCPConsent).toHaveBeenCalledTimes(2));
+ expect(jest.mocked(dataService.confirmScheduleMCPConsent).mock.calls[1][1]).toMatchObject({
+ allow: {},
+ everything: true,
+ ask: {},
+ });
+ });
+
+ it('offers nothing to keep asking about where the grant asks about nothing', async () => {
+ jest.mocked(dataService.getScheduleMCPConsent).mockResolvedValue(standing);
+ display();
+ expect(await whole()).toBeChecked();
+ expect(
+ screen.queryByRole('checkbox', { name: 'com_ui_schedule_consent_everything_asking' }),
+ ).not.toBeInTheDocument();
});
it('starts a stored grant from what it is', async () => {
diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.json
index d0d7bd394f..970c67d680 100644
--- a/client/src/locales/en/translation.json
+++ b/client/src/locales/en/translation.json
@@ -3948,7 +3948,7 @@
"com_ui_schedule_consent_everything": "Run the whole agent",
"com_ui_schedule_consent_everything_note": "Everything this agent can use, including tools, skills and servers added to it later. Untick to choose tool by tool.",
"com_ui_schedule_consent_everything_allowed": "Allowed: the whole agent, including what is added to it later.",
- "com_ui_schedule_consent_everything_asking": "You are still asked before each use of: {{tools}}",
+ "com_ui_schedule_consent_everything_asking": "Ask me before each use of: {{tools}}",
"com_ui_schedule_authorize_title": "What this schedule may use",
"com_ui_schedule_authorize_changed": "What this schedule may use has changed. Review your choices and create it again.",
"com_ui_schedule_authorize_unavailable": "What this schedule may use could not be loaded. You can create it and authorize it afterwards; until then none of its tools will run.",