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

What privileges are required for bootstrapping and deploying? #491

Closed
dmcassel opened this issue Jul 8, 2015 · 4 comments
Closed

What privileges are required for bootstrapping and deploying? #491

dmcassel opened this issue Jul 8, 2015 · 4 comments

Comments

@dmcassel
Copy link
Collaborator

dmcassel commented Jul 8, 2015

I was emailed a question:

Thank you for the great tool Roxy. We are planning to use Roxy in our project. We would like to understand is it required to use admin user name and password in the environment specific properties file or we can have any other user. If non admin user what are the privileges that the non admin user should have.

Please let me know whether is it mandatory to use admin credentials or non admin credentials

Seems like a good topic to document in a wiki.

@dmcassel
Copy link
Collaborator Author

dmcassel commented Jul 8, 2015

Short answer: for Roxy, we wanted set up to work with what is available out-of-the-box from MarkLogic, which meant working with the available users. The only default user that has sufficient privileges to run bootstrap is admin. A non-admin user would need a lot of privileges, although in principal it should be possible to set up such a user.

As an example, a user running bootstrap would need to execute admin:save-configuration-without-restart, which requires the http://marklogic.com/xdmp/privileges/admin-module-write privilege. A user that has all the privileges required for each function in setup.xqy should be able to bootstrap and deploy.

@guru2228
Copy link

guru2228 commented Jul 8, 2015

Thank you.

@grtjn
Copy link
Contributor

grtjn commented Jun 14, 2017

See also #600, and #624.

@grtjn
Copy link
Contributor

grtjn commented Jun 14, 2017

Covering this in #600.

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

4 participants