Skip to content

Commit

Permalink
Temporarily comment out all feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Jun 19, 2024
1 parent b1ffc03 commit e25a2f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions serverless/pages/custom-roles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ The built-in <DocLink slug="/serverless/general/assign-user-roles" section="orga
This is where custom roles come in. */}
{/* Derived from https://www.elastic.co/guide/en/kibana/current/tutorial-secure-access-to-kibana.html#_roles */}

{/*
TBD: Accurate for serverless? Which types of users have access to this UI?
The `manage_security` cluster privilege is required to manage custom roles.
*/}
As an administrator, however, you have the ability to create your own roles to describe exactly the kind of access your users should have.
For example, you might create a marketing_user role, which you then assign to all users in your marketing department.
This role would grant access to all of the necessary data and features for this team to be successful, without granting them access they don't require.
Expand All @@ -28,10 +32,6 @@ By default, custom roles grant the same access as the `Viewer` instance access r
If you want to change this behavior, you must create your custom role by using the ((es)) create role API.
{/* TBD: Is it the Elasticsearch or Kibana role management API in this case? Add link when API docs are available. */}

{/*
TBD: Accurate for serverless?
The `manage_security` cluster privilege is required to manage custom roles.
*/}
You can manage custom roles in **((project-settings)) → ((manage-app)) →((custom-roles-app))**.
To clone, delete, or edit a role, open the actions menu:

Expand Down
5 changes: 3 additions & 2 deletions serverless/pages/project-settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ To learn more about roles, refer to <DocLink slug="/serverless/general/assign-us
<DocBadge template="security" slug="/serverless/security/what-is-security-serverless" />
</DocCell>
</DocRow>
<DocIf condition={"((serverlessCustomRoles))" === "true"}>
{/* TO-DO: Uncomment feature flag when it exists in docs-site */}
{/* <DocIf condition={"((serverlessCustomRoles))" === "true"}> */}
<DocRow>
<DocCell><DocLink slug="/serverless/custom-roles"/></DocCell>
<DocCell>Create and manage roles that grant privileges within your project.</DocCell>
Expand All @@ -73,7 +74,7 @@ To learn more about roles, refer to <DocLink slug="/serverless/general/assign-us
<DocBadge template="security" slug="/serverless/security/what-is-security-serverless" />
</DocCell>
</DocRow>
</DocIf>
{/* </DocIf> */}
<DocRow>
<DocCell>
<DocLink slug="/serverless/data-views"/>
Expand Down

0 comments on commit e25a2f0

Please sign in to comment.