Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When enabling scope enforcement, the self_owned_node check could generate a failure because the check internally can be touched by both a project scoped and system scoped endpoint. This change changes the tag in the policy so it doesn't prematurely return an error to the API consumer. Change-Id: I49e2f7f29eb98e5bb4e18614cea0aca726703f55 (cherry picked from commit 9da6dfd) (cherry picked from commit c973f20)
- Loading branch information
1 parent
1d9c223
commit 4fdf65c
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/fix-self-owned-node-policy-fc2dae357879dc33.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixes scope classification check with the "self_owned_node" policy | ||
check where it was limited to check execution with only project | ||
scoped, so system scoped users who ticked the policy endpoint would | ||
basically get an incorrect error. |