mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Authz] Cleanup of access tags functionality and documentation (#220231)
## Summary Mandatory security config has been added in https://github.com/elastic/kibana/pull/215180. This PR cleans up access tags functionality, documentation and migration eslint rule `no_deprecated_authz_config` that is no longer needed. ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This commit is contained in:
parent
ddb98d3656
commit
c3a26c32e5
14 changed files with 252 additions and 1125 deletions
|
@ -268,8 +268,12 @@ Unlike the Canvas example, Dev Tools does not require access to any saved object
|
|||
server.route({
|
||||
path: '/api/console/proxy',
|
||||
method: 'POST',
|
||||
security: {
|
||||
authz: {
|
||||
requiredPrivileges: ['console'],
|
||||
},
|
||||
},
|
||||
config: {
|
||||
tags: ['access:console'],
|
||||
handler: async (req, h) => {
|
||||
// ...
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue