filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

FR: Support Multiple Scopes per Source via Whitelist or Blacklist

Open baur opened this issue 9 months ago • 2 comments

Is your feature request related to a problem? Please describe.

Currently, it is not possible to define multiple scopes within a single source using either a whitelist or blacklist

Describe the solution you'd like

I would like the ability to specify multiple Scopes via CSV

Example structure:

Image

Describe alternatives you've considered

Maybe allow multi list:

SRC1: FOLDER1 SRC1: FOLDER_A\FOLDER_B

SRC2: FOLDER2 SRC2: FOLDER_C\FOLDER_D SRC2: FOLDER_E\FOLDER_F\FOLDER_G

Additional context Currently I'm solving this by regex but its so dificult for wihite list access to:

  • root/subfolder_a/subfolder_b/subfolder_c
  • root/subfolder_a/subfolder_e/subfolder_f/subfolder_g/subfolder_k

Regex, Allow: (?i)^/root(/subfolder_a(/subfolder_b(/subfolder_c)?)?)?$ Regex, Allow: (?i)^/root/(subfolder_a/(subfolder_b/(subfolder_c/)?)?)?$ Regex, Allow: (?i)^/root/subfolder_a/subfolder_b/subfolder_c

Regex, Allow: (?i)^/root(/subfolder_a(/subfolder_e(/subfolder_f(/subfolder_g(/subfolder_k)?)?)?)?)?$ Regex, Allow: (?i)^/root/(subfolder_a/(subfolder_e/(subfolder_f/(subfolder_g/(subfolder_k/)?)?)?)?)?$ Regex, Allow: (?i)^/root/subfolder_a/subfolder_e/subfolder_f/subfolder_g/subfolder_k

baur avatar Mar 14 '25 04:03 baur

I think this is similar to the existing feature request, definitely will be coming.

gtsteffaniak avatar Mar 14 '25 05:03 gtsteffaniak

This is planned for the next major release.

gtsteffaniak avatar Mar 22 '25 12:03 gtsteffaniak

this is marked done as completed by https://github.com/gtsteffaniak/filebrowser/issues/342

gtsteffaniak avatar Aug 20 '25 13:08 gtsteffaniak