Is there some option that can be added to a CLI modification that would allow me to restrict a command to only work in a specific directory (and sub-directories).
For example, I’d like to execute ‘file list/show’, but only in one directory, rather than exposing the whole filesystem.
Also, if using ‘load/save’, I’d like to retrieve files from a single directory, to make things a bit easier and avoid users from needing to know precisely where the files are stored, and instead knowing the filename would be sufficient.
I see the /confdConfig/cli/restrictedFileRegexp configuration option, but wasn’t able to get the regex working. I’m also wondering if the regex could be applied to specific commands, rather than the CLI as a whole.