Restrict client_add function of the remote API to interface_modules_enabled
Restrict the modules that a remote user can set via the remote API when adding a new client to the modules defined in $conf['interface_modules_enabled'].
Restrict the modules that a remote user can set via the remote API when adding a new client to the modules defined in $conf['interface_modules_enabled'].