mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix off by one issue for getting endpoint for opening docs and tracking (#56364)
Fix security docs
This commit is contained in:
parent
2d3a656b75
commit
6bc9cde843
4 changed files with 9 additions and 2 deletions
|
@ -30,7 +30,10 @@ export function getEndpointFromPosition(editor: CoreEditor, pos: Position, parse
|
|||
const context = {
|
||||
...getCurrentMethodAndTokenPaths(
|
||||
editor,
|
||||
{ column: lineValue.length, lineNumber: pos.lineNumber },
|
||||
{
|
||||
column: lineValue.length + 1 /* Go to the very end of the line */,
|
||||
lineNumber: pos.lineNumber,
|
||||
},
|
||||
parser,
|
||||
true
|
||||
),
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"_security/privilege/"
|
||||
"_security/privilege"
|
||||
],
|
||||
"documentation": "TODO"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{
|
||||
"security.delete_privileges": {
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{
|
||||
"security.put_privileges": {
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue