amschaal / bioshare

MIT License
6 stars 2 forks source link

Move max_depth for symlinks into settings, perhaps allow overriding on case by case #82

Open amschaal opened 9 months ago

amschaal commented 9 months ago

Max_depth for symlinks shouldn't be hard coded, but should be in settings. There are cases where symlinks need to go deeper, so consider allowing that on a case by case basis. In that case, maybe 2 settings: SYMLINK_DEPTH_DEFAULT = 1 # default depth that symlinks are allowed, perhaps make possible to override SYMLINK_DEPTH_MAX = 3 # absolute depth that should never be allowed