I think an alternative to what you are trying to accomplish would be this:
- setup the application configuration however you like on some launcher. maybe this is on a dev machine or separate user account, whatever.
- set the
lock.configuration
property in the launchers json file (again, in.ignition/clientlauncher-data
) totrue
- replace the json file on the user machine that you want to lock the configuration of with the one that you configured.
You could do this on the launcher you want to configure itself and simply toggle the lock.configuration
value as needed.
Coupling the privileges
of a launcher to a specific gateway seems like a recipe for disaster. the lock.configuration property should be adequate to limit users from modifying the configuration of the launcher.