目录

Preparations

Preparing the Environment

Applying for Qualification

Before you start developing an app, configure your project and app information in AppGallery Connect, including:

Applying for Required Permissions

Before requesting permissions, ensure that the basic principles for using permissions are met. Then, declare required permissions under requestPermissions in the module.json5 configuration file of the module of the project.

Table 1 Permission description

App Capability Scenario Required Permission
Inter-workspace data transfer Set and obtain review information using the inter-workspace data transfer APIs. ohos.permission.ENTERPRISE_FILE_TRANSFER_AUDIT_POLICY_MANAGEMENT
Workspace management Deliver the workspace lifecycle management policy. ohos.permission.ENTERPRISE_MANAGE_LOCAL_PUBLICSPACES
Workspace management Query workspace information. ohos.permission.QUERY_LOCAL_WORKSPACES
Workspace management Subscribe to workspace events. ohos.permission.ENTERPRISE_WORKSPACES_EVENT_SUBSCRIBE

Example:

"requestPermissions": [
  {
    "name": "ohos.permission.ENTERPRISE_FILE_TRANSFER_AUDIT_POLICY_MANAGEMENT"
  },
  {
    "name": "ohos.permission.ENTERPRISE_MANAGE_LOCAL_PUBLICSPACES"
  },
  {
    "name": "ohos.permission.QUERY_LOCAL_WORKSPACES"
  },
  {
    "name": "ohos.permission.ENTERPRISE_WORKSPACES_EVENT_SUBSCRIBE"
  }
]