Skip to content

Add option to overwrite users.js #149

@rdstn

Description

@rdstn

Is there an existing issue for this?

  • I have searched the existing issues

Affected Version

11.3.1

Current Behavior

Currently, the users.js which can be provided as a secret file are, as correctly identified by the configuration parameter, initialUsers. Some users may want to:

  • Use built-in GraphDB security.
  • Not change security settings manually.
  • Keep their users.js secret as a source of truth.

This is impossible at the moment, as the provisioned users.js is applied only if no previous users.js exists.

Expected Behavior

The user can toggle a security.users.override (or similarly named) flag - which defaults to false - to always overwrite the contents of users.js with the one provisioned in the secret. This is currently handled here.

Steps To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions