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

Minimum Permission for deployment #624

Closed
kgcprakash opened this issue Jul 8, 2016 · 5 comments
Closed

Minimum Permission for deployment #624

kgcprakash opened this issue Jul 8, 2016 · 5 comments

Comments

@kgcprakash
Copy link

Hi, How to get / find out the minimum privilege/permission required for the ml-user performing marklogic deployment via roxy tool. (in other words; the user performing marklogic deployment using roxy tool; should that user have to be an admin user (always)).

@RobertSzkutak
Copy link
Contributor

RobertSzkutak commented Jul 8, 2016

To be clear, are you asking about source code deployment (./ml ENV deploy src|modules|rest) or infrastructure deployment (bootstrapping)? (./ml ENV bootstrap)

@kgcprakash
Copy link
Author

Am setting up an user for performing marklogic deployments via roxy. I don't want to give a user with admin role to deployment team. So wanted to setup a user; that has minimum required roles / privileges for performing deployment - like modules, content, schema deployment (i assume bootstrap will require admin role as it is connecting to admin ports)

@grtjn
Copy link
Contributor

grtjn commented Jul 12, 2016

Related to #600, #491, and #438..

@grtjn
Copy link
Contributor

grtjn commented Jul 12, 2016

Deploy src uses XCC, and requires xdbc related privileges, and probably also any-uri. Deploy rest is slightly different, as that goes through REST-api. You need rest-admin role, and/or rest-writer priv + any-uri priv probably..

+1 on documenting this, +10 on providing sample users/roles for this..

@grtjn
Copy link
Contributor

grtjn commented Jun 14, 2017

Covering this in #600.

@grtjn grtjn closed this as completed Jun 14, 2017
@grtjn grtjn added deployer and removed question labels Jun 14, 2017
@grtjn grtjn self-assigned this Jun 14, 2017
@grtjn grtjn added this to the July 2017 milestone Jun 14, 2017
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