1. Feature Overview
Let a logged-in user remove any single keyword from their recent searches, with ownership enforced from the session.
2. User Stories
- As a user,
- I want to remove an unwanted item from my recent searches,
- So that my keyword list stays relevant.
3. Acceptance Criteria
Scenario 1: Remove a Keyword
- Given I am logged in and own the entry
- When I remove it
- Then the entry is deleted with a no-content response.
Scenario 2: Entry Not Found or Not Mine
- Given the entry does not exist or does not belong to me
- When I remove it
- Then I get a "not found" error.
Scenario 3: Unauthenticated
- Given I have no valid session
- When I try to remove an entry
- Then access is denied.
4. Resources & References
1. Feature Overview
Let a logged-in user remove any single keyword from their recent searches, with ownership enforced from the session.
2. User Stories
3. Acceptance Criteria
Scenario 1: Remove a Keyword
Scenario 2: Entry Not Found or Not Mine
Scenario 3: Unauthenticated
4. Resources & References