Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only create DSpace admin user if database doesn't exist #1

Open
alanorth opened this issue Aug 14, 2017 · 0 comments
Open

Only create DSpace admin user if database doesn't exist #1

alanorth opened this issue Aug 14, 2017 · 0 comments

Comments

@alanorth
Copy link
Owner

The setup-postgres script always ends by creating a DSpace administrator user. In the case where a container is re-using an existing PostgreSQL database, perhaps with an existing set of users, it is undesirable to create the default admin user again (and a security risk).

Logic should be added to make the dspace create-administrator call happen when a new database is being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant