InterviewLegend

Design Permission-Scoped Search

Frequently asked
Alex Chen45 min readUpdated 510 real interview reports

This lands in the 60-minute design round as a Jira or Confluence search prompt, and it starts deceptively small. Build an inverted index over issues, match the query terms, rank by relevance, return a page. That is a solved problem, and if that were all they wanted it would be a typeahead exercise. The interviewer's real target is the sentence hiding in "allowed to see." A tenant can have ten million issues spread across thousands of projects with fine-grained, constantly-changing access rules, and a search result that shows someone a single issue they should not see is a data leak. So this is not a search problem with a permission feature bolted on. It is a permission problem that happens to need search-grade latency. Lead with that.

The Atlassian angle
Put the leak first, because permissions here are the system and not a filter you add at the end. Atlassian sells software to companies whose whole reason for using it is keeping the right work in front of the right people. Think of a security-team Confluence space, an unannounced-acquisition Jira project, or an HR issue with salary in a custom field. One of the five values is "Don't #@!% the customer," profanity included and entirely deliberate, and leaking one tenant's private issue into the wrong person's search results is exactly the failure that value names. Interviewers on this prompt are known to ladder the difficulty on purpose. They start you at "search 10M issues fast." Then come the constraints: "now make it multi-tenant," "now permissions depend on the issue's fields and change hourly," "now a user was just deprovisioned, how fast do their results go dark." Opening on authorization instead of the index tells them you already know where the round is heading.
What's inside
  • 1 diagram
  • 5 sections
  • about 45 min

Premium lessonAtlassian interview guide

These took digging.

What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.

100 companies. Checked every month.

Unlock all 100 companies

$49 a year · less than $1 a week · Cancel anytime

Had your Atlassian interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Atlassian interview guide

Know what Atlassian asks before you walk in.

21 coding · 5 system design · 15 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.