Background
OceanBase Developer Center (ODC) allows users to apply for permissions on public connections and allows administrators to manage these applications on the public resource console.
After a user creates a public connection permission application task in Task Center, the administrator can approve the task on the Tasks page in Task Center. The user can view the task information and approval status on the Tasks page in Task Center.
Lists of tasks
After you enter the target database connection, click Task Center in the top navigation bar to open the Task Center panel. Click the Apply for Permission tab to view the permission application tasks.
The following table describes the columns contained in the task list on this tab contain. You can filter and sort the tasks in the list.
| Column | Description |
|---|---|
| Task ID | The ID of the permission application task. |
| Task Type | The type of the task specified when you created the task. |
| Connection | The name of the database connection to which the task belongs. You can click the filter icon to filter tasks by connection.Note A permission application task may involve multiple database connections. Therefore, the connection details are not displayed, and - is displayed instead. |
| Database | The name of the target database where the task operates. You can click the search icon to search for tasks of a specific database.Note A permission application task may involve multiple database connections. Therefore, the connection details are not displayed, and - is displayed instead. |
| Created By | The user whose created the database connection task. You can click the search icon to search for tasks created by a specific creator. |
| Created At | The date and time when the task was generated. |
| Task Status | The current status of the task. ODC provides different management actions for tasks in different states. |
| Actions | ODC provides task management options such as View and Approve/Reject. - View: Click this button to go to the task details page to view the task information and task process. - Approve/Reject: Click this button to approve or reject the application. |
Create a permission application task
Log on to ODC. Click Task Center in the top navigation bar. On the Task Center panel that appears, click + on the right side of Permission Applications, and a new permission application task panel will pop up
In the Apply for Connection Permissions panel, specify the following information:
Item Description Select a public connection Select public connections for the application.
- Select Connections pane: You can select multiple public connections at a time to apply for permissions on them.
- Selected: You can clear or delete the selected public connections.
- You can search for public connections by connection name, host name, cluster name, or tenant name.Permission Type Select the type of the permission on the target public connections. Valid values: Read-only and Read/Write. Reason for Application (Optional) Enter the reason for application. Click Submit to apply for permissions on the connections.
Note
After a connection permission application task is created, ODC automatically matches the task with the connection permission application process created by the administrator in the public resource console. Tasks will be executed based on the priority order set by the administrator in Set Priority in the public resource console. For more information about task processes, see Task process management.
View a permission application task
Task information
Click Task Center in the top navigation bar, and click the Apply for Permission tab. In the task list on the tab, click View in the Actions column of the target task to view its details.
In the Task Details panel, click the Task Information tab to view the basic information and settings of the task, including Task Status, Task ID, Task Type, Risk Levels, and Apply for Public Connection.
| Item | Description |
|---|---|
| Basic task information | Displays task information, including Task Status, Task ID, Task Type, Risk Levels, Created By, and Created At. |
| Information about public connections applied for | Displays the Connection Name, Permission Type, and Status values specified when you created the permission application task. |
Task Process
In the Task Details panel, click the Task Process tab to view information about the task process, including the task initiation information, approval status, execution status, and completion status.
You can click Initiate Again in the lower-right corner of the panel to re-initiate the permission application task.
to filter tasks by connection.
to search for tasks of a specific database.