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

Document minimal privileges required to run against Neo4j #361

Open
fbiville opened this issue Apr 17, 2023 · 1 comment
Open

Document minimal privileges required to run against Neo4j #361

fbiville opened this issue Apr 17, 2023 · 1 comment

Comments

@fbiville
Copy link
Collaborator

fbiville commented Apr 17, 2023

Indices and constraints (internal)

  • node uniqueness constraint on __LiquibaseLock(:lockedBy)
  • node uniqueness constraint on __LiquibaseTag(:tag)
  • node uniqueness constraint on __LiquibaseContext(:context)
  • node uniqueness constraint on __LiquibaseLabel(:label)
  • [Enterprise Edition only] node key constraint on __LiquibaseChangeSet(:id, :author, :changeLog)

CRUD access (internal)

  • on node __LiquibaseLock {id: STRING, grantDate: DATETIME, lockedBy: STRING}
  • on nodes __LiquibaseTag {tag: STRING, dateCreated: DATETIME, dateUpdated: DATETIME}
  • on nodes __LiquibaseContext {context: STRING, dateCreated: DATETIME, dateUpdated: DATETIME}
  • on nodes __LiquibaseLabel {label: STRING, dateCreated: DATETIME, dateUpdated: DATETIME}
  • on nodes __LiquibaseChangeSet {changeLog: STRING, id: STRING, author: STRING, checkSum: STRING, execType: STRING, description: STRING, comments: STRING, deploymentId: STRING, storedChangeLog: STRING, liquibaseVersion: STRING}
  • on node __LiquibaseChangeLog {dateCreated: DATETIME, dateUpdated: DATETIME}
  • on relationships (:__LiquibaseChangeLog)<-[:IN_CHANGELOG {dateExecuted: DATETIME, orderExecuted: INTEGER}]-(:__LiquibaseChangeSet)
  • on relationships (:__LiquibaseTag)-[:TAGS]->(:__LiquibaseChangeSet)
  • on relationships (:__LiquibaseContext)-[:CONTEXTUALIZES]->(:__LiquibaseChangeSet)
  • on relationships (:__LiquibaseLabel)-[:LABELS]->(:__LiquibaseChangeSet)
@fbiville
Copy link
Collaborator Author

Easier way is probably to run updateSQL and let people deduce what permissions are needed.

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

No branches or pull requests

2 participants