Repository navigation
[Backport 5.1] OF-3450: Re-check perms for ad-hoc command on continued session - #3587
Merged
Merged
Conversation
(cherry picked from commit fbd9588)
The tests check that the owner of a command session can complete it while it has permission, and that the session is refused with 'forbidden' when the owner's permission was revoked, or when another entity tries to continue it. The two refusal tests fail without the fix in "OF-3450: Re-check perms for ad-hoc command on continued session". (cherry picked from commit 51ed98e)
…er use When the owner of a command session has lost permission to execute the command, every later request for that session is refused, including cancelling it, and the session only expires when it is next used. Such a session is now removed when it is refused, so that it does not stay in memory or count towards the owner's limit of simultaneous sessions. A refused attempt by an entity other than the owner leaves the session alone. Each refusal is logged at debug level. (cherry picked from commit 1d1cad2)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
Description
Backport of #3546 to
5.1.