[Backport 2.x] Add ThreadContextPermission for markAsSystemContext and allow core to perform the method #15038
Codecov / codecov/patch
succeeded
Jul 31, 2024 in 1s
74.07% of diff hit (target 71.48%)
View this Pull Request on Codecov
74.07% of diff hit (target 71.48%)
Annotations
codecov / codecov/patch
libs/secure-sm/src/main/java/org/opensearch/secure_sm/ThreadContextPermission.java#L38-L39
Added lines #L38 - L39 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/common/util/concurrent/ThreadContext.java#L578-L579
Added lines #L578 - L579 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/common/util/concurrent/ThreadContextAccess.java#L30-L31
Added lines #L30 - L31 were not covered by tests
Loading