Conversation
This comment was marked as spam.
This comment was marked as spam.
mgoworko
force-pushed
the
RORDEV-2134
branch
from
September 10, 2026 22:04
2fa700b to
c227129
Compare
This comment was marked as resolved.
This comment was marked as resolved.
coutoPL
requested changes
Sep 11, 2026
coutoPL
requested changes
Sep 21, 2026
|
|
||
| A negative answer to any of the questions affects only the current block. ROR moves on to the next block, as it does for a regular request, and asks the questions again. The answers to the first two questions depend only on the `impersonation` section, so they are the same in every block. If one of them is negative, every block whose authentication rule supports impersonation fails, and the request is refused as not allowed, unless a block with no authentication rule matches it. The answer to the third question depends on the rule in each block, and it decides which block matches first. | ||
|
|
||
| ## Impersonation configuration |
Collaborator
There was a problem hiding this comment.
IMO, the things below could be a separate md file: e.g., "configuring the impersonation".
What's left in this file? The impersonation mechanism explanations without configuration details.
WDYT?
|
|
||
| ### Which rules support impersonation | ||
|
|
||
| Rules differ in how they support impersonation. When Test Settings are applied, ROR checks every rule and reports a warning for each block with a rule that won't work during impersonation. The ROR Kibana plugin shows these warnings in the Test Settings UI. |
Collaborator
There was a problem hiding this comment.
We should state that all non-auth rules support impersonation requests.
But some of the auth rules don't.
|
|
||
| Rules differ in how they support impersonation. When Test Settings are applied, ROR checks every rule and reports a warning for each block with a rule that won't work during impersonation. The ROR Kibana plugin shows these warnings in the Test Settings UI. | ||
|
|
||
| #### Rules that support impersonation |
| [...] | ||
| ``` | ||
|
|
||
| ## Glossary |
Collaborator
There was a problem hiding this comment.
Maybe the glossary should stay in README.md
| | The user you want to impersonate isn't on the list in Kibana | None (UI limitation) | The user matches only a wildcard pattern in the `users` section, so ROR can't list them | Type the username manually (see [limitations](#impersonation-limitations)) | | ||
| | Impersonation is refused for every user, although the `impersonation` entry looks correct and the credentials work elsewhere | Impersonation not allowed | ROR identifies the impersonator only by HTTP Basic Auth credentials, whatever rule the `impersonation` entry uses. Credentials sent in any other form don't match any entry | Make sure the impersonator authenticates with a username and password (HTTP Basic Auth) | | ||
|
|
||
| ## Logs & audit |
Collaborator
There was a problem hiding this comment.
Maybe this section should stay in README.md. WDYT?
Collaborator
|
and because we improve the docs, the target should be master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by CodeRabbit