-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0.0
-
Fix Version/s: 4.0.1
-
Component/s: Configuration
-
Epic Link:
-
Tags:
-
Sprint:nxDrive 10.10.1
-
Story Points:2
To allow system wide local configuration, we can add a new configuration file located into the installation folder.
When Drive is looking for configuration files, it will first peek the system one (INSTALLDIR\config.ini), then the user one (~\.nuxeo-drive\config.ini).
Notes:
- User options will override system ones.
- Changes are effective for all OSes.
We also need to tweak options in Settings to let the user know that is is managed by their sysadmin and they have no control over these.
We will create another file, let's say admin.py, which defines the IS_ADMIN constant. This way we will be able to filter behaviors.
The new configuration flow will be:
- a registry key inside HKEY_CURRENT_USER\Software\Nuxeo\Drive,
- the REST API endpoint /drive/configuration served by the server,
- a INSTALDIR/config.ini file,
- a $HOME/.nuxeo-drive/config.ini file,
- the command line.
Each of these ways overrides the previous one.
- is related to
-
NXDRIVE-1317 (timebox) Installing Drive client for all desktop users as an option
- Resolved