Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Make it easy to run MLCP with non-admin user #359

Closed
paxtonhare opened this issue Jan 29, 2015 · 1 comment
Closed

Make it easy to run MLCP with non-admin user #359

paxtonhare opened this issue Jan 29, 2015 · 1 comment

Comments

@paxtonhare
Copy link
Contributor

If I want to load data via mlcp as a non-admin user I can't unless I hand jam server_config.rb or run mlcp directly. I threw a quick fix into my current project, but this should be slightly more extensible.

server_config.rb line 847ish....

username = @properties['ml.default-user']
password = @properties['ml.appuser-password']
if ARGV.length > 0
  password_prompt
  connection_string = %Q{ -username #{username} -password #{password} -host #{@properties['ml.server']} -port #{@properties['ml.xcc-port']}}

Ideally I'd have a mlcp.user= and mlcp.password= so I can overwrite them with anything.

default them to:

mlcp.user=${user}
mlcp.password=${password}

then let users do whatever in their properties files.

@grtjn
Copy link
Contributor

grtjn commented Jan 30, 2015

I'd go for mlcp-user. I don't think default-user will be a good default choice.

Note: you can also add permissions and collections using mlcp options..

@grtjn grtjn added this to the 1.7.2 milestone Feb 25, 2015
paxtonhare added a commit that referenced this issue Apr 30, 2015
Fixed #359: added separate mlcp user/pass properties
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants