Premium

Folder Permissions Over Time: Who Could Open the File?

By FrontendAtlas Editorial · Updated Nov 21, 2026

Challenge summary

Answer whether a user could open a file at a given moment, when folders allow or deny users and groups, inherit unless overridden, and keep a timestamped history of every change.

What you'll practice

  • Keep a history of changes sorted by time and find the one in force at any moment with a binary search.
  • Walk a file's folder path and stop at the nearest folder with a rule in force for the user.
  • Apply precedence rules in a fixed order: nearest folder, the user before their groups, deny between groups.
  • Handle changes recorded out of order, ties at one timestamp and rules that are cleared.

What Premium unlocks

Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion.

Free related practice

Public interview reports: Aced (August 2025), Taro (May 2024), Taro (December 2024), Aced (November 2026) · ElevenLabs frontend interview questions

Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.

Premium is $24 a month or $99 a year, less in many countries.