Browse Source

[DOCS] Applies rename of transform related roles and privileges (#48123)

István Zoltán Szabó 6 years ago
parent
commit
e5af8bb3f8

+ 4 - 4
docs/reference/transform/apis/delete-transform.asciidoc

@@ -21,10 +21,10 @@ beta[]
 ==== {api-prereq-title}
 
 * Before you can delete the {transform}, you must stop it.
-* If the {es} {security-features} are enabled, you must have
-`manage_data_frame_transforms` cluster privileges to use this API. The built-in
-`data_frame_transforms_admin` role has these privileges. For more information,
-see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `manage_transform` 
+cluster privileges to use this API. The built-in `transform_admin` role has 
+these privileges. For more information, see <<security-privileges>> and 
+<<built-in-roles>>.
 
 
 [[delete-transform-path-parms]]

+ 4 - 4
docs/reference/transform/apis/get-transform-stats.asciidoc

@@ -30,10 +30,10 @@ beta[]
 [[get-transform-stats-prereqs]]
 ==== {api-prereq-title}
 
-* If the {es} {security-features} are enabled, you must have
-`monitor_data_frame_transforms` cluster privileges to use this API. The built-in
-`data_frame_transforms_user` role has these privileges. For more information,
-see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `monitor_transform` 
+cluster privileges to use this API. The built-in `transform_user` role has these 
+privileges. For more information, see <<security-privileges>> and 
+<<built-in-roles>>.
 
 
 [[get-transform-stats-desc]]

+ 4 - 4
docs/reference/transform/apis/get-transform.asciidoc

@@ -28,10 +28,10 @@ beta[]
 [[get-transform-prereqs]]
 ==== {api-prereq-title}
 
-* If the {es} {security-features} are enabled, you must have
-`monitor_data_frame_transforms` cluster privileges to use this API. The built-in
-`data_frame_transforms_user` role has these privileges. For more information,
-see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `monitor_transform` 
+cluster privileges to use this API. The built-in `transform_user` role has these 
+privileges. For more information, see <<security-privileges>> and 
+<<built-in-roles>>.
 
 [[get-transform-desc]]
 ==== {api-description-title}

+ 5 - 6
docs/reference/transform/apis/preview-transform.asciidoc

@@ -20,12 +20,11 @@ beta[]
 [[preview-transform-prereq]]
 ==== {api-prereq-title}
 
-* If the {es} {security-features} are enabled, you must have
-`manage_data_frame_transforms` cluster privileges to use this API. The built-in
-`data_frame_transforms_admin` role has these privileges. You must also have
-`read` and `view_index_metadata` privileges on the source index for the
-{transform}. For more information,
-see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `manage_transform` 
+cluster privileges to use this API. The built-in `transform_admin` role has 
+these privileges. You must also have `read` and `view_index_metadata` privileges 
+on the source index for the {transform}. For more information, see 
+<<security-privileges>> and <<built-in-roles>>.
 
 [[preview-transform-desc]]
 ==== {api-description-title}

+ 6 - 6
docs/reference/transform/apis/put-transform.asciidoc

@@ -20,12 +20,12 @@ beta[]
 [[put-transform-prereqs]]
 ==== {api-prereq-title}
 
-* If the {es} {security-features} are enabled, you must have
-`manage_data_frame_transforms` cluster privileges to use this API. The built-in
-`data_frame_transforms_admin` role has these privileges. You must also
-have `read` and `view_index_metadata` privileges on the source index and `read`,
-`create_index`, and `index` privileges on the destination index. For more
-information, see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `manage_transform` 
+cluster privileges to use this API. The built-in `transform_admin` role has 
+these privileges. You must also have `read` and `view_index_metadata` privileges 
+on the source index and `read`, `create_index`, and `index` privileges on the 
+destination index. For more information, see <<security-privileges>> and 
+<<built-in-roles>>.
 
 [[put-transform-desc]]
 ==== {api-description-title}

+ 4 - 5
docs/reference/transform/apis/start-transform.asciidoc

@@ -20,11 +20,10 @@ beta[]
 [[start-transform-prereqs]]
 ==== {api-prereq-title}
 
-* If the {es} {security-features} are enabled, you must have
-`manage_data_frame_transforms` cluster privileges to use this API. You must also
-have `view_index_metadata` privileges on the source index for the
-{transform}. For more information,
-see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `manage_transform` 
+cluster privileges to use this API. You must also have `view_index_metadata` 
+privileges on the source index for the {transform}. For more information, see 
+<<security-privileges>> and <<built-in-roles>>.
 
 [[start-transform-desc]]
 ==== {api-description-title}

+ 4 - 4
docs/reference/transform/apis/stop-transform.asciidoc

@@ -26,10 +26,10 @@ beta[]
 [[stop-transform-prereq]]
 ==== {api-prereq-title}
 
-* If the {es} {security-features} are enabled, you must have
-`manage_data_frame_transforms` cluster privileges to use this API. The built-in
-`data_frame_transforms_admin` role has these privileges. For more information,
-see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `manage_transform` 
+cluster privileges to use this API. The built-in `transform_admin` role has 
+these privileges. For more information, see <<security-privileges>> and 
+<<built-in-roles>>.
 
 
 [[stop-transform-desc]]

+ 6 - 6
docs/reference/transform/apis/update-transform.asciidoc

@@ -20,12 +20,12 @@ beta[]
 [[update-transform-prereqs]]
 ==== {api-prereq-title}
 
-* If the {es} {security-features} are enabled, you must have
-`manage_data_frame_transforms` cluster privileges to use this API. The built-in
-`data_frame_transforms_admin` role has these privileges. You must also
-have `read` and `view_index_metadata` privileges on the source index and `read`,
-`create_index`, and `index` privileges on the destination index. For more
-information, see <<security-privileges>> and <<built-in-roles>>.
+* If the {es} {security-features} are enabled, you must have `manage_transform` 
+cluster privileges to use this API. The built-in  `transform_admin` role has 
+these privileges. You must also have `read` and  `view_index_metadata` 
+privileges on the source index and `read`, `create_index`, and `index` 
+privileges on the destination index. For more information, see 
+<<security-privileges>> and <<built-in-roles>>.
 
 [[update-transform-desc]]
 ==== {api-description-title}

+ 3 - 3
docs/reference/transform/ecommerce-tutorial.asciidoc

@@ -15,9 +15,9 @@ pivot and summarize your data with {transforms}.
 privileges to complete these steps. 
 +
 --
-You need `manage_data_frame_transforms` cluster privileges to preview and create
-{transforms}. Members of the built-in `data_frame_transforms_admin`
-role have these privileges.
+You need `manage_transform` cluster privileges to preview and create 
+{transforms}. Members of the built-in `transform_admin` role have these 
+privileges.
 
 You also need `read` and `view_index_metadata` index privileges on the source
 index and `read`, `create_index`, and `index` privileges on the destination

+ 18 - 4
x-pack/docs/en/security/authorization/built-in-roles.asciidoc

@@ -37,14 +37,28 @@ suitable for writing beats output to {es}.
 
 --
 
+[[built-in-roles-transform-admin]] `transform_admin` :: 
+Grants `manage_transform` cluster privileges, which enable you to manage 
+{transforms}. This role also includes all 
+{kibana-ref}/kibana-privileges.html[Kibana privileges] for the {ml-features}.
+
+[[built-in-roles-transform-user]] `transform_user` ::
+Grants `monitor_transform` cluster privileges, which enable you to use 
+{transforms}. This role also includes all
+{kibana-ref}/kibana-privileges.html[Kibana privileges] for the {ml-features}.
+
 [[built-in-roles-data-frame-transforms-admin]] `data_frame_transforms_admin` ::
-Grants `manage_data_frame_transforms` cluster privileges, which enable you to
-manage {transforms}. This role also includes all
+(This role is deprecated, please use the 
+<<built-in-roles-transform-admin,`transform_admin`>> role instead.) Grants 
+`manage_data_frame_transforms` cluster privileges, which enable you to manage 
+{transforms}. This role also includes all
 {kibana-ref}/kibana-privileges.html[Kibana privileges] for the {ml-features}.
 
 [[built-in-roles-data-frame-transforms-user]] `data_frame_transforms_user` ::
-Grants `monitor_data_fram_transforms` cluster privileges, which enable you to
-use {transforms}. This role also includes all
+(This role is deprecated, please use the 
+<<built-in-roles-transform-user,`transform_user`>> role instead.) Grants 
+`monitor_data_frame_transforms` cluster privileges, which enable you to use 
+{transforms}. This role also includes all
 {kibana-ref}/kibana-privileges.html[Kibana privileges] for the {ml-features}.
 
 [[built-in-roles-enrich-user]] `enrich_user` ::

+ 2 - 2
x-pack/docs/en/security/authorization/privileges.asciidoc

@@ -47,7 +47,7 @@ patterns. It also includes the authority to grant the privileges necessary to
 manage follower indices and auto-follow patterns. This privilege is necessary 
 only on clusters that contain follower indices. 
 
-`manage_data_frame_transforms`::
+`manage_transform`::
 All operations related to managing {transforms}.
 
 `manage_ilm`::
@@ -119,7 +119,7 @@ security roles of the user who created or updated them.
 All cluster read-only operations, like cluster health and state, hot threads, 
 node info, node and cluster stats, and pending cluster tasks.
 
-`monitor_data_frame_transforms`::
+`monitor_transform`::
 All read-only operations related to {transforms}.
 
 `monitor_ml`::