Project collaboration management

更新时间:
复制 MD 格式

Background information

In ODC for Web V4.2.0 and later, users with project creation permissions can create projects and add project members. Members can add and change databases in a project.

This topic describes how to make database changes using project collaboration.

How it works

image.png

  1. An ODC system administrator grants a user the project creation role. The user can then create a project and add members.

  2. A project administrator or DBA member adds a database.

  3. A regular project member submits a ticket to request a database change.

  4. ODC identifies the risk level of the ticket based on its rules and starts the corresponding approval flow.

  5. After approval, ODC automatically executes the database change, or a user executes it manually.

  6. When all tickets in the project are complete and no auto triggered tasks are enabled, the project administrator can archive the project. An archived project cannot be recovered and no longer supports collaborative development. The databases and sensitive columns in the project are also released.

  7. After archiving the project, the project administrator can delete it. All data is permanently lost when a project is deleted.

Create a project

Method 1: Create a project as a user with the project creation role

Important
  1. A system administrator grants a user the permission to create projects.

  2. The project administrator creates a project and adds members.

    Note

    ODC users with project creation permissions can create projects. By default, the project creator is granted the project administrator role. The project administrator can configure ODC users as project members. These members can then access the project and collaborate with the team by logging on to ODC with their own accounts.

    Item

    Description

    Project name

    Specify the project name.

    Administrator

    Has all permissions within the project.

    DBA

    Has all permissions within the project except for member management, message configuration, and project settings.

    Developer

    Can log on to all databases, execute SQL, and submit tickets. This role is usually for developers.

    Security administrator (Optional)

    In addition to the permissions of a participant, can also manage sensitive columns.

    Participant (Optional)

    Can view basic project information, and request database permissions and submit tickets.

    Description (Optional)

    This item is not required.

Method 2: Join a project

ODC users can join an existing project by requesting project permissions.

  1. Join a project from the Project or Ticket page.

    a. Request from the project entry point.

    image.png

    b. Request from the ticket entry point.

    image.png

  2. Select a project and a project role. Enter a reason for the request. Click Create to submit the project permission request.

    image.png

  3. Check the approval status in your tickets.

    image.png

  4. After your request is approved, you can view the project you joined in the project list.

    image.png

Archiving projects

When all tickets in a project are complete and no auto triggered tasks are enabled, a project administrator can archive the project if it is no longer in use.

Important
  • An archived project cannot be recovered. It no longer supports collaborative development. The databases and sensitive columns added to the project are also released.

  • If a scheduled partitioning task is not stopped when the project is archived, the task is automatically stopped after the project is archived.

  1. In the project list, select the name of the project to archive.

    image

  2. On the Settings tab of the project, click Archive Project.

    image

  3. Click OK to archive the project.

    image

  4. After the project is archived, you can view it in the Archived Projects list.

    image

Delete a project

After a project is archived, the project administrator can delete it.

Important

All data is permanently lost after a project is deleted.

  1. In the Archived Projects list, click the More icon next to the project name and select Delete Project to delete a single project. To delete multiple projects in a batch, select the checkboxes next to the project names and click Delete Project in the toolbar.

    image

  2. In the confirmation dialog box, enter delete and click Delete to delete the archived project.

    image

Database management

Method 1: Add a database as a user with database permissions

  1. Click the project name to go to the project management page.

    image

  2. On the Databases page, add a database.

    image

  3. Project members can export, import, change, and log on to the database. They can also transfer the database to other projects.

    image

Method 2: Request database permissions

Important
  • To request database permissions, an ODC user must have already joined a project.

  • ODC users can only request permissions for databases in projects they have joined.

ODC users can request permissions to query, export, or change a database by clicking Request DB Permissions.

  1. On the Project or Ticket page, click Request DB Permissions.

    1. Request from the project entry point.

      image

    2. Request from the ticket entry point.

      image

  2. Select the project, database, permission type, and validity period. Enter a reason for the request. Click Create to submit the database permission request.

    image

Add Object Storage Service

ODC V4.3.3 and later lets you add object storage files to a project. Supported object storage types include Alibaba Cloud OSS, Tencent Cloud COS, Huawei Cloud OBS, and AWS S3. You can then archive the data from these object storage files to other databases.

  1. Click the project name to go to the project management page.

    image

  2. On the Databases page, click Add Object Storage.

    image

  3. On the Add Object Storage page, configure the data source and database administrator information. Click OK to add the object storage file.

    image

Table/View management

Project members can request permissions for tables or views in any database within the project.

Project members can request permissions to query, export, or change a table or view by clicking Request Table/View Permissions.

Important
  • ODC users can only request permissions for tables in projects they have joined.

  • If a table or database is transferred to another database or project, the original table permissions become invalid.

  1. On the Project or Ticket page, click Request Table Permissions.

    a. Request from the project entry point.

    image

    b. Request from the ticket entry point.

    image

  2. Select the project, table/view, permission type, and validity period. Enter a reason for the request. Click Create to submit the table/view permission request.

    image

  3. After the request is approved, project members can manage the table or view according to the granted permission type.

    • Query permission for a table: Allows you to execute query statements on the table in the SQL window.

    • Change permission for a table: Allows you to execute change statements on the table in the SQL window.

    • Export permission for a table: Allows you to submit a ticket to export the table.

    • Query permission for a view: Allows you to execute query statements on the view in the SQL window.

    • Export permission for a view: Allows you to submit a ticket to export the view.

    • Query permission for a database: Allows you to execute query statements on the database in the SQL window.

    • Change permission for a database: Allows you to execute change statements on the database in the SQL window and submit tickets for tasks other than exporting data and exporting result sets.

    • Export permission for a database: Allows you to submit a database export ticket.

    • Query and export permissions for a database: Allows you to submit a ticket to export a result set.

    For more information, see Create and manage tables using SQL statements, Create and manage tables using the visualization feature, Database change management, and Create a view.

Ticket management

Regular project members who do not have database editing permissions can submit tickets to request tasks such as data export, data import, mock data, database changes, lock-free schema changes, SQL plans, and data archiving.

image

Member management

On the Members page, project administrators can add, edit, or remove members, and manage database and table permissions.

image

Message notifications

On the Message Notifications page, project members can enable notifications for specific ticket event types and add push channels, such as DingTalk, Lark, WeCom, or custom webhooks. When a change occurs for an enabled event type, ODC sends a notification to project members. For more information about how to configure notifications, see Manage message notifications.

image

Project settings

On the Settings page, project administrators can change the project name and archive the project.

image

References