-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workspace documentation #213
base: main
Are you sure you want to change the base?
Conversation
docs/plugins/workspace.md
Outdated
``` | ||
|
||
1. `id`: A unique identifier that distinguishes each workspace. | ||
2. `name`: The name of the workspace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name is unique as well
docs/plugins/workspace.md
Outdated
enhances security and access control (Please ref to this [DOC](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4633) for more details | ||
about access control). | ||
|
||
A new attribute, `workspaces`, is being added to saved objects which type is an array of string. A saved object can be associated with one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or no workspace for example advanced setting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add a separate section for non-workspace data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added on line 109
docs/plugins/workspace.md
Outdated
} | ||
``` | ||
|
||
Saved object can also associated with multiple workspaces, this is useful in scenarios where a saved object is relevant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
be associated with
docs/plugins/workspace.md
Outdated
} | ||
``` | ||
### Handling Dependencies | ||
A significant aspect of copying saved objects is the handling of dependencies. Many saved objects, particularly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use duplicate instead of copy to align with UX?
docs/plugins/workspace.md
Outdated
- **Purpose**: The Global Workspace serves as a centralized environment for managing resources and configurations that apply | ||
globally across OpenSearch Dashboards. | ||
- **Features**: It includes features that are accessible to all users, regardless of their specific teams or projects. | ||
- **Permissions**: All users have `read` and `write` permission to public workspace and its associated saved objects. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you replace public with global to be consistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, will update
docs/plugins/workspace.md
Outdated
- **Permissions**: Access to the Personal Workspace is limited to the user who owns it, ensuring data privacy and personalization. | ||
3. Management Workspace | ||
- **Purpose**: The Management Workspace is dedicated to administrative tasks and configurations within OpenSearch Dashboards. | ||
- **Features**: It encompasses features and tools necessary for system administrators to manage OSD advanced settings, data sources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data source can be managed in any workspace, so we may not want to call out here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, what features are management workspace exclusive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Index management, snapshot management, security plugin, notification.
docs/plugins/workspace.md
Outdated
- **Permissions**: Initially, access to the Management Workspace is set to public during initialization, administrators have the | ||
responsibility and privilege to restrict access and define permissions within the Management Workspace. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a link to opensearch-project#5083 for workspace and it's object permission?
docs/plugins/workspace.md
Outdated
1. `id`: A unique identifier that distinguishes each workspace. | ||
2. `name`: The name of the workspace. | ||
3. `description`: A description providing context for the workspace. | ||
4. `features`: An array of application IDs associated with the workspace, derived from the plugins registered. These application IDs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The features accept applications IDs and rules right? Do we need to add rule syntax here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean by @category
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. There are some examples in the below. We can say accept rules here.
Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: Yulong Ruan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update some basic usage in doc(For example, how to configure to enable the feature), or is this doc only focused on conceptual aspects, or will it be keep updated?
Description
Issues Resolved
Screenshot
Testing the changes
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr