# Given a hierarchical file system with inherited and overridden permissions, write a function to determine whether a user has access to a file at a specific time.

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/5771/function-check-user-access
Source observed: 2026-11-04T23:46:04.958Z
Last checked: 2026-11-04T23:46:04.958+00:00
Indexed: 2026-11-05T19:06:19.549+00:00

---

# Given a hierarchical file system with inherited and overridden permissions, write a function to determine whether a user has access to a file at a specific time.

This is an Aced **Coding** interview question associated with **ElevenLabs**. It has been reported in **4 interviews**, was last asked **6 months ago**, and is tagged for **Software Engineer 2**, **Forward Deployed Engineer**, and **Solutions Architect** roles. Detailed company statistics require [Upgrade](https://www.aced.io/upgrade?src=questions).

Folders can allow or deny users or groups. Permissions propagate down unless overridden. Historical permission states matter because each change has a timestamp. Implement the access check and explain your approach.

## Interview experience

**1 shared — [ElevenLabs · a year ago](https://www.aced.io/experiences/eleven-labs-solutions-architect-interview-ce0689)**

> I got into ElevenLabs through a connection and the whole process moved pretty fast, about two weeks end to end. My loop was recruiter screen, a timed coding assessment, a live coding interview in a Google Doc, a customer-style case study, and then a CTO/founder interview. The consistent theme was that they wanted strong individuals, not people who hide behind team language, and they mixed behavioral questions into basically every round. The coding and case rounds were on the harder, more signal-driven side, while the founder round felt a bit off-topic and oddly fuzzy about the actual role definition. I passed the interviews and got a verbal yes, but I ended up not getting the final offer.

Role: Solutions Architect.

## Community answers

No answers have been contributed by the community yet.

## Related courses

![Forward Deployed Engineering Interviews](https://images.ctfassets.net/x78yjrjc11pq/25mhKSvDOiCwC89lDj89Ah/9a5fbfacc8d93f05c238ab55baa4e5e5/fde.png?w=800&h=800&fm=webp&q=75)

### [Forward Deployed Engineering Interviews](https://www.aced.io/courses/forward-deployed-engineering)

Prepare for forward deployed engineering roles at companies such as Google, Anthropic, OpenAI, and startups through mock interviews, frameworks, senior-candidate advice, and system design, coding, and behavioral practice.

![Software Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/4VkuYewBHUFIVUS5oJDW5h/02e833439b1289f25f38f13f81cbdca3/adobe_stock_optimized.jpeg?w=800&h=800&fm=webp&q=75)

### [Software Engineering Interview Prep](https://www.aced.io/courses/software-engineering)

Prepare for software engineering roles at Google, Amazon, Microsoft, Meta, Apple, and other top companies with mock interviews, frameworks, senior-candidate advice, and practice in data structures, algorithms, system design, people management, behavioral interviews, and more.

## Your answer

Submitting marks this question complete.

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F5771%2Ffunction-check-user-access&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F5771%2Ffunction-check-user-access). Opening a form does not execute a tool.