Skip to content

[9.0] Added DisabledAuthz utility (#216633)#217838

Merged
elena-shostak merged 1 commit intoelastic:9.0from
elena-shostak:backport/9.0/pr-216633
Apr 11, 2025
Merged

[9.0] Added DisabledAuthz utility (#216633)#217838
elena-shostak merged 1 commit intoelastic:9.0from
elena-shostak:backport/9.0/pr-216633

Conversation

@elena-shostak
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

## Summary

Added `DisabledAuthz` utility class, this will address the current
repetition of the reason string `'This route delegates authorization to
the ES/SO client` and other common scenarios.

__Closes: https://github.com/elastic/kibana/issues/216632__

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
(cherry picked from commit 18ca869)

# Conflicts:
#	x-pack/platform/plugins/shared/security/server/routes/authorization/roles/delete.ts
#	x-pack/platform/plugins/shared/security/server/routes/authorization/roles/get.ts
#	x-pack/platform/plugins/shared/security/server/routes/authorization/roles/get_all.ts
#	x-pack/platform/plugins/shared/security/server/routes/authorization/roles/post.ts
#	x-pack/platform/plugins/shared/security/server/routes/authorization/roles/put.ts
#	x-pack/platform/plugins/shared/security/server/routes/authorization/roles/query.ts
@elena-shostak elena-shostak added the backport This PR is a backport of another PR label Apr 10, 2025
@elena-shostak elena-shostak enabled auto-merge (squash) April 10, 2025 13:10
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/core-security-server 77 84 +7
Unknown metric groups

API count

id before after diff
@kbn/core-security-server 161 168 +7

@elena-shostak elena-shostak merged commit 9b13d4a into elastic:9.0 Apr 11, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants