瀏覽代碼

[DOCS] Fixes links to role management APIs

lcawl 7 年之前
父節點
當前提交
a608205510

+ 1 - 1
x-pack/docs/en/security/authorization/managing-roles.asciidoc

@@ -130,7 +130,7 @@ manage roles, log in to {kib} and go to *Management / Elasticsearch / Roles*.
 The _Role Management APIs_ enable you to add, update, remove and retrieve roles
 The _Role Management APIs_ enable you to add, update, remove and retrieve roles
 dynamically. When you use the APIs to manage roles in the `native` realm, the
 dynamically. When you use the APIs to manage roles in the `native` realm, the
 roles are stored in an internal {es} index. For more information and examples, 
 roles are stored in an internal {es} index. For more information and examples, 
-see {ref}/security-api-roles.html[Role Management APIs]. 
+see {ref}/security-api.html#security-api-roles.html[role management APIs]. 
 
 
 [float]
 [float]
 [[roles-management-file]]
 [[roles-management-file]]

+ 1 - 1
x-pack/docs/en/security/authorization/mapping-roles.asciidoc

@@ -18,7 +18,7 @@ the API, and other roles that are mapped through files.
 
 
 When you use role-mappings, you assign existing roles to users.
 When you use role-mappings, you assign existing roles to users.
 The available roles should either be added using the
 The available roles should either be added using the
-{ref}/security-api-roles.html[Role Management APIs] or defined in the
+{ref}/security-api.html#security-api-roles.html[role management APIs] or defined in the
 <<roles-management-file, roles file>>. Either role-mapping method can use
 <<roles-management-file, roles file>>. Either role-mapping method can use
 either role management method. For example, when you use the role mapping API,
 either role management method. For example, when you use the role mapping API,
 you are able to map users to both API-managed roles and file-managed roles
 you are able to map users to both API-managed roles and file-managed roles