Skip to content

Commit ec3d2a0

Browse files
Change copy curl buttons to copy only in workspace docs (#12071) (#12073)
1 parent f6222b1 commit ec3d2a0

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

_dashboards/workspace/apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav_order: 10
66
---
77

88
# Workspaces APIs
9-
Introduced 2.18
9+
**Introduced 2.18**
1010
{: .label .label-purple }
1111

1212
The Workspaces API provides a set of endpoints for managing workspaces in OpenSearch Dashboards.

_dashboards/workspace/create-workspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav_order: 1
66
---
77

88
# Create a workspace
9-
Introduced 2.18
9+
**Introduced 2.18**
1010
{: .label .label-purple }
1111

1212
Before getting started with this tutorial, you must enable the workspace feature flag. See [Enabling the ACL feature]({{site.url}}{{site.baseurl}}/dashboards/workspace/workspace/#enabling-the-workspace-feature) for more information.

_dashboards/workspace/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ redirect_from:
88
---
99

1010
# Getting started with workspaces
11-
Introduced 2.18
11+
**Introduced 2.18**
1212
{: .label .label-purple }
1313

1414
OpenSearch Dashboards 2.18 introduces an enhanced home page that provides a comprehensive view of all your workspaces.

_dashboards/workspace/manage-workspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav_order: 2
66
---
77

88
# Manage workspaces
9-
Introduced 2.18
9+
**Introduced 2.18**
1010
{: .label .label-purple }
1111

1212
You can access and modify the workspace details, including name, description, use case, and icon color, on the **Workspace details** page.

_dashboards/workspace/workspace-acl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav_order: 3
66
---
77

88
# Workspace access control lists
9-
Introduced 2.18
9+
**Introduced 2.18**
1010
{: .label .label-purple }
1111

1212
Workspace access control lists (ACLs) manage authorization for saved objects `AuthZ(Authorization)` while enabling [Security in OpenSearch]({{site.url}}{{site.baseurl}}/security/) for `AuthN(Authentication)`.
@@ -47,7 +47,7 @@ Set all users as admins with this wildcard setting:
4747
```yaml
4848
opensearchDashboards.dashboardAdmin.users: ["*"]
4949
```
50-
{% include copy-curl.html %}
50+
{% include copy.html %}
5151

5252
### Configuring admin access for a single user
5353

@@ -56,7 +56,7 @@ Configure a user with the `admin-user-id` setting:
5656
```yaml
5757
opensearchDashboards.dashboardAdmin.users: ["admin-user-id"]
5858
```
59-
{% include copy-curl.html %}
59+
{% include copy.html %}
6060

6161
### Configuring admin access by backend role
6262

@@ -65,7 +65,7 @@ Configure a user with the `admin-role` setting:
6565
```yaml
6666
opensearchDashboards.dashboardAdmin.groups: ["admin-role"]
6767
```
68-
{% include copy-curl.html %}
68+
{% include copy.html %}
6969

7070
### Admin-restricted operations
7171

_dashboards/workspace/workspace.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ has_children: true
66
---
77

88
# Workspace for OpenSearch Dashboards
9-
Introduced 2.18
9+
**Introduced 2.18**
1010
{: .label .label-purple }
1111

1212
The Workspace feature in OpenSearch Dashboards enables you to tailor your environment with use-case-specific configurations. For example, you can create dedicated workspaces for observability scenarios, allowing you to focus on relevant functionalities. Additionally, the Workspace feature enables organization of visual assets, such as dashboards and visualizations, within a workspace with isolated storage.
@@ -25,7 +25,7 @@ interface Workspace {
2525
uiSettings: Record<string, unknown>;
2626
}
2727
```
28-
{% include copy-curl.html %}
28+
{% include copy.html %}
2929

3030
The Workspace data model is composed of the following key attributes:
3131

@@ -48,7 +48,7 @@ The following object shows a typical Workspace configuration:
4848
features: ["use-case-analytics"],
4949
}
5050
```
51-
{% include copy-curl.html %}
51+
{% include copy.html %}
5252

5353
The configuration creates the `Analytics team` using the `use-case-observability` feature set. Use cases map to specific feature groups, limiting functionality to the defined set within each workspace.
5454

@@ -77,7 +77,7 @@ The following saved object shows a dashboard object associated with the workspac
7777
workspaces: ["M5NqCu"]
7878
}
7979
```
80-
{% include copy-curl.html %}
80+
{% include copy.html %}
8181

8282
Saved objects support association with multiple workspaces, facilitating cross-team collaboration and resource sharing. This feature is useful when an object is relevant to multiple teams, projects, or use cases.
8383

@@ -90,7 +90,7 @@ The following example shows a data source object linked to multiple workspaces:
9090
workspaces: ["M5NqCu", "<TeamA-workspace-id>", "<Analytics-workspace-id>"]
9191
}
9292
```
93-
{% include copy-curl.html %}
93+
{% include copy.html %}
9494

9595
## Non-workspace saved objects
9696

@@ -108,11 +108,11 @@ uiSettings:
108108
overrides:
109109
"home:useNewHomePage": true
110110
```
111-
{% include copy-curl.html %}
111+
{% include copy.html %}
112112
113113
If your cluster has the Security plugin installed, then multi-tenancy must be disabled to avoid conflicts with similar workspaces:
114114
115115
```yaml
116116
opensearch_security.multitenancy.enabled: false
117117
```
118-
{% include copy-curl.html %}
118+
{% include copy.html %}

0 commit comments

Comments
 (0)