Note:
This process is intended only as a guide for businesses to provide a code-free access experience.
1. Roles and permissions
1.1 User type
Super administrator (Super admin)
Description: Has the highest permission level required to manage the platform within the enterprise. There is only one super admin.
Permission Scope: Has authority over modules such as platform management, team management, user management, operation management; has read-only authority over business modules such as application management and mini-program management.
Platform admin
Description: Created by the Super admin and multiple platform admins can be created. This role is similar to management personnel in an enterprise.
Permission Scope: Inherits Admin permissions.
Ordinary users
Description: Created or actively registered by Admin or platform administrator, team administrator.
Permission Scope: Can only modify user account and password when they are not in any teams. After joining the team, the ordinary users have corresponding permissions according to the assigned roles.
1.2 Team roles
TCMPP provides preset roles, including admin, member admin, developer, operator, and approver, to meet actual business control needs.
App team roles and permissions
|
Team member management | ✓ | ✓ | - | - | - | - |
App management | ✓ | - | ✓ | - | - | - |
App integration | ✓ | - | ✓ | ✓ | - | - |
Mini program release approval | ✓ | - | - | - | - | ✓ |
Sensitive API management | ✓ | - | ✓ | - | - | - |
Sensitive API call approval | ✓ | - | - | - | - | ✓ |
Data dashboard | ✓ | - | ✓ | - | ✓ | - |
User feedback | ✓ | - | ✓ | ✓ | ✓ | - |
User complaints | ✓ | - | - | - | ✓ | - |
App team roles:
App admin: The only admin with full permissions for the app team.
App member admin: Responsible for managing app team members, with the permissions to modify team names, and manage team members and roles.
Senior app developer: Typically the technical leader of the app team, with permissions for management, development, viewing operational data.
App developer: The developer of the app, with permissions for development and viewing user feedback and feedback logs.
App operations personnel: Responsible for summarizing and analyzing user feedback and mini program data within the app, providing data support for product experience improvements.
Approver: Responsible for the approval process between mini programs and the app, including mini program release approval, sensitive API call approval, etc.
Mini program team roles and permissions
|
Team member management | ✓ | ✓ | - | - | - | - |
Mini program management | ✓ | - | ✓ | - | - | - |
Mini program development configuration | ✓ | - | ✓ | - | - | - |
Real-time logs | ✓ | - | ✓ | ✓ | - | - |
Mini program development and IDE usage | ✓ | - | ✓ | ✓ | - | - |
Mini program experience | ✓ | - | ✓ | ✓ | ✓ | ✓ |
Submission of the mini program for approval | ✓ | - | ✓ | - | - | ✓ |
Mini program release | ✓ | - | ✓ | - | - | - |
Data dashboard | ✓ | - | ✓ | ✓ | ✓ | - |
User feedback | ✓ | - | ✓ | ✓ | ✓ | - |
Mini program team roles:
Mini program team admin: The only admin with full permissions for the mini program team.
Mini program team member admin: Responsible for managing mini program team members, with the permissions to modify team names, and manage team members and roles.
Senior mini program developer: Typically the technical leader of the mini program team, with permissions for management, development, IDE, viewing operational data.
Mini program developer: The developer of the app, with permissions for development, IDE and viewing user feedback and feedback logs.
Mini program operator: Responsible for summarizing and analyzing user feedback and mini program data, providing data support for product experience improvements.
Mini program release approver: Responsible for the approval process between the mini program and apps, including experiencing the mini program, approving the mini program release, and releasing the mini program, etc.
1.3 role relationship diagram
2. Access process
The Tencent Cloud Mini Program Platform (TCMPP) empowers enterprises technical capabilities for mini program development, testing, release, operations, and application integration into the mini program container. The following figure shows the entire process from the TCMPP activation to the mini program release in your own application.
The following is an introduction to the quick use of the mini program platform from the role dimension.
3. Enterprise super administrator
3.1 Preparation
After you purchase the TCMPP package, you need to create an Admin account for the Mini Program platform in Package Management. After creating the Admin account, the system will generate a TCMPP console login link. Use Admin to log in to the console. 3.2 User Management
Admin and platform administrators can create sub-accounts by clicking New User in the upper left corner of the User Management > User List page in the left menu of the console. To create a new user, you need to fill in or select the following information:
Username: used for identification and search within the platform.
Login account: the account used by the user to log in.
Login password: the password used by the user to log in. You can choose to have the platform automatically generate it, or you can enter it manually by the administrator.
Account type: you can choose whether the user is a platform administrator or an ordinary member. The platform administrator cannot join a team and inherits the privileges of Admin; ordinary members can join a team later and get the privileges of the corresponding roles in the form of team roles.
3.3 Team Management
Teams in the Mini Program platform can be used to mark and manage a group of users, Mini Programs, and applications. As a platform, enterprises can use the concept of "teams" to efficiently manage personnel and resources belonging to different business lines.
Data will be isolated between different teams, but Mini Programs across teams can be associated with applications. When a team is deleted, the enterprise super administrator can also transfer the team resources to other teams for management. Super administrators and platform administrators can create, edit, and delete teams.
If ordinary members within the enterprise need to join a team and obtain team roles to obtain corresponding resource management permissions. Super administrators, platform administrators, and team administrators of the current team have the authority to manage team members. The ways to add team members include adding team members and creating new members.
Admin, platform administrators create teams
In the Team Management > Team List menu on the left side of the console, after entering the page, you can click New Team on the page to start adding teams.
Team name: for display within the platform.
Set team administrator: You can select one ordinary member to serve as a team administrator. An ordinary member can serve as a team administrator for multiple teams at the same time. Super administrators and platform administrators cannot join teams or serve as team administrators. If there are no other members on the current platform, we also provide a quick entry for creating new users here.
Team permissions: You can check the permissions you need to assign to the team. Teams with mini-program management permissions can create and manage mini-programs, and teams with application management permissions can access and manage applications. The type of the team cannot be changed after creation.
4. Application team management
4.1 Application team member management
Application administrators and application team member administrators can manage team members. In the Team Management > Member Management page on the left menu of the console, click New Member in the upper left corner to create a new user on the platform and add it to the team. Users created in this way can only be ordinary members of the platform. Administrators still need to fill in the user name, login account, login password, team and team role.
4.2 App creation and SDK integration
1. Administrators and senior developers can create applications by accessing the application on the application homepage. In the first step, fill in the iOS Bundle ID com.tencent.tmf.applet.db or the Android Package Name com.tencent.tcmpp.demo in the application basic information.
Note:
Please replace Bundle ID and Package Name with your own Bundle ID and Package Name.
2. Click Next. After the mini-program container is integrated, a configuration file will appear for download. This file will be used in subsequent steps. Be sure to save the file. You can also obtain it in the application details.
4.3 Mini Program Release Approval
Note:
Application administrators and reviewers need to review and approve the release of the Mini Program.
After the mini program team submits the mini program for release approval, the application team administrator or reviewer will receive the approval information in the mini program review-pending list, and can then approve the mini program version release.
After approval, the mini program team also needs to publish the mini program in "Mini Program Management-Version Management".
5. Mini Program Team Management
5.1 Mini Program Team Member Management
Mini program team administrator and mini program team member administrator can carry out team member management, can be in the console left menu of the team management > member management page, click the upper left corner of the new member can be in the platform of the new user at the same time will be based on joining the team, through this way the new user can only be an ordinary member of the platform, the administrator needs to still need to fill in the username, login, login password, belongs to the team and the Team Role.
5.2 Creating Mini Program
1. The mini program team administrator can click Create Mini Program on the mini program homepage, and configure the mini program related information on the Create Mini Program page.
2. After clicking Next, enterprise developers can choose to download the latest IDE version on demand in the console, or click the following link to download.
3. After opening the TCMPP-Devtools_x64.exe IDE installation file locally, click the desktop icon to enter the IDE login page.
5.3 Upload the Mini Program code
1. After completing the three steps of connecting to the application, creating a mini program, and binding the mini program to the application, developers can create a new project in the IDE (note that AppID here is the mini program id, and you can drop down to select the mini program that has been created in the console without manual input).
2. After entering the IDE editor, you can directly upload the applet (this step may occasionally fail to upload, in which case you can upload multiple times and wait patiently).
3. After uploading, developers can submit version review in version management.
5.4 Release the Mini Program
After approval, the version manager will prompt that the new version of the Mini Program can be released online. At this time, people with release permissions can perform the release operation.
6. Real Device Preview of Mini Program (Important)
Enterprise developers can download the official Demo provided by TCMPP, use the configuration file mentioned inCreate Apps mentioned above, compile and install it themselves, and then preview the mini program. 6.1 Android
1. Replace the configuration file in the project with the configuration file downloaded in Chapter 4.1. 2. Replace the built-in mini program list with the mini program ID that has been bound above to facilitate quick opening of the mini program in DemoApp.
3. Run DemoApp on a real machine, scan the QR code, search or open the built-in mini program.
6.2 iOS
Note:
The BundleID used by the current project is the same as the BundleID configured in the previous application.
1. Replace the configuration file in the project with the configuration file downloaded in Chapter 4.1. 2. Replace the built-in mini program list with the mini program ID that has been bound above to facilitate quick opening of the mini program in DemoApp.
3. Run DemoApp on a real machine, scan the QR code, search or open the built-in mini program.
Was this page helpful?