File access control based on date

Dear Nextcloud community,

I store video recordings in a Nextcloud instance. I have a top-level “year” directory and one “month” subdirectory for each month.

Example:

  • 2021
    • 01_january
    • 02_february
    • […]
    • 12_december
  • 2022
    • 01_january
    • 02_february
    • […]
    • 12_december
  • 2023
    • 01_january
    • 02_february

Inside the “month” directory I store the video files that were recorded in the respective month.

Use case:

When I create a new user I want him to only access the files from his registration date (or at least from the month of registration) onwards.

Considerations:

The Files Access Control app does not seem to have the feature to deny access to files predating a specific date.

With collaborative tags there would be the possibility to add a tag for each year and month but this seems quite inefficient and confusing to manage the ever growing number of tags.

Another way could be to individually share the files on upload with the currently registered users but then the shared files would lose their directory structure.

Is there something I am missing or has this use case not been considered, yet?