Draft: Script to mount a share
Overview
(NOTE: this replaces !786 (closed); also this MR is messy. I will clean it up, possibly in a new MR (sorry!))
The purpose of this change is automatically populate the share-setup script with information about access rules and keys, the path the share, and also a mount point name derived as a slugified version of the share name.
NOTE. the radio buttons for the access rules which are displayed when there is more than one access rule, are not responding. They do respond in the "setup-share" branch from which this code is derived.
How to Test
You will find the script in the share detail page. Copy it and try it out by ssh'ing and executing it in the terminal. Try this in the case of shares with one and more than one access rule. In the case of no access rules, this feature is not (for now) presented.