Product design question

How would you add an edit option in the application for HR_admin user only for leave details of a particular staff member?

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Tests precise, permissions aware feature design: scoping an edit capability correctly to one role without breaking existing access controls.

How to approach it

  1. Clarify the requirement: only the HR admin role can edit leave details for a specific staff member, others should retain view or no access.
  2. Confirm existing role definitions and permission structure in the application before designing new access logic.
  3. Propose the design: a role check gating an edit button visible only to users with the HR admin role, with an audit log of changes.
  4. Address edge cases: what happens if an HR admin's role changes mid session, and how conflicting edits are prevented.
  5. Define success: zero unauthorized edit attempts succeeding, verified through access control testing.
  6. Confirm with the interviewer whether this needs to support multiple HR admins per staff member or a single owner.

What a strong answer includes

Common mistakes

Likely follow-up questions

More product design questions

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank