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

Define and implement improved db user privileges architecture for Arches #2636

Closed
5 tasks
adamlodge opened this issue Oct 28, 2017 · 3 comments
Closed
5 tasks

Comments

@adamlodge
Copy link
Collaborator

User Story

In prod settings, it is good practice to create an alternative db user (besides "postgres") through which Arches accesses the database. However, there is currently no guidance (documentation or a template script) for creating a user with the privileges required to make Arches work.

On the implementation side, we should think through what exactly these privileges are, define a role that wraps up these privileges, and implement unit tests that ensure that the privileges assigned to the role keep up with system requirements.

Acceptance Criteria

  • Identify required db privileges
  • Create an Arches role and implement required privileges to it
  • Create and (probably by default) use an alternative db user that is associated with the Arches role
  • Unit Tests passed
  • Documentation (point to postgres documentation on how to associate a user to a role)

Definition of Done

An implementor can create a custom db user account, and associate that user with a pre-defined db role that has all appropriate access to the db necessary to execute Arches functionalities.

@chiatt
Copy link
Member

chiatt commented Mar 26, 2019

Hey @benosteen, does your work address any of the criteria that @adamlodge has mentioned in the description above?

@benosteen
Copy link
Contributor

benosteen commented Mar 26, 2019 via email

@chiatt
Copy link
Member

chiatt commented Apr 1, 2022

Following #3719 this ticket will be completed by archesproject/arches-docs#115

@chiatt chiatt closed this as completed Apr 1, 2022
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

3 participants