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

Add variable privileged user for DB imports #213

Open
mkayontour opened this issue Nov 17, 2023 · 1 comment
Open

Add variable privileged user for DB imports #213

mkayontour opened this issue Nov 17, 2023 · 1 comment
Assignees
Labels
feature New feature or request needs information Not an issue
Milestone

Comments

@mkayontour
Copy link
Member

Right now all imports are done using the username/password combination which is necessary for the connection. But those aren't always privileged enough to import schemas.

Check if privileged user is given and then use those at the import instead.

@mkayontour mkayontour self-assigned this Nov 17, 2023
@mkayontour mkayontour added the feature New feature or request label Nov 17, 2023
@mocdaniel mocdaniel added this to the v0.4.0 milestone Nov 20, 2023
@mocdaniel
Copy link
Contributor

Which parts of the Icinga stack would be affected by this? For modules, we can now pass different credentials to the icingaweb2_modules.<module>.database.username/password part than the ones configured in icingaweb2_resources.<moduledatabase>.username/password, so the problem is already solved there.

This leaves two components if I'm not mistaken:

  • icingaweb2 itself (configured via icingaweb2_db at the moment)
  • IcingaDB's database, which gets bootstrapped by the IcingaDB daemon.

So we would need to add this way of importing schemas only for Icingaweb2's config database, then? Would it make sense to expand the import schema feature used for modules so that it can handle this use-case, too?

@mocdaniel mocdaniel added the needs information Not an issue label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request needs information Not an issue
Projects
None yet
Development

No branches or pull requests

2 participants