Table of Contents generated with DocToc
Hengshi system supports SaaS operations of the platform side, which provides data and tenant management, while tenants carry out data analysis in the Hengshi system.
Features provided to the platform side: Full-line functionalities of Hengshi system.
Features provided to the tenant side:
System management: Management of users within the tenant.
App creation: Application creation in personal and shared areas. Permission settings are only applicable within the tenant.
App marketplace: Applications published by the tenant, available only to the tenant itself.
A typical usage scenario is when a data provider has data on the beverage market and sells it to its clients such as Coca-Cola and Nestlé for their use. The data provider brings the data into the Hengshi platform, processes it, and encapsulates it into usable data packs. Coca-Cola and Nestlé can then perform their own data analyses using these data packs.
Another typical scenario is as follows:
Hengshi Technology, offering HENGSHI SENSE as an analysis platform or embedded analysis platform.
A SaaS vendor in a specific vertical, such as eBest, usually has its own SaaS service.
Users of the platform provider.
A medium to large enterprise served by eBest, such as Carlsberg or Mars, each as an enterprise tenant.
Users within an enterprise tenant.
The platform side purchases the Hengshi system.
The platform purchases Hengshi products and must apply for a "multi-tenant function" license to enable the system's multi-tenant capabilities.
The multi-tenant license contains two customizable values: tenant trial period duration limit, and trial user number limit. The duration limit is by default 30 days, and the user limit is 5 people by default. The specific values can be provided according to contract contents when applying for a business license; Hengshi will generate the appropriate license according to the requirements.
The platform side creates tenants.
There are two ways to create a tenant:
Tenants created via the above two methods are in trial status, and the platform side applies for an official tenant license from Hengshi product side, updates the license in the Hengshi system, and the tenant then enters the official usage stage.
The tenant has its own organizational structure within Enterprise WeChat. The tenant's administrator adds a third-party application in Enterprise WeChat: Hengshi analysis system, selecting who has access permissions.
When saving, Enterprise WeChat verifies whether the tenant can add the Hengshi analysis system and whether the number of people exceeds the limit.
Once authentication is passed, the Hengshi system automatically registers tenant information, creates tenant users, and pulls tenant attribute information.
The tenant's system administrator opens the application, sees system management, app creation, and the app marketplace; additionally, the new tenant admin role can only see user management in the system settings, while the tenant's regular users opening the application can see app creation and the app marketplace.
When the platform side does not distribute data to users, users can only upload Excel or use Hengshi's built-in library to make charts.
The platform side adds data connections and datasets in the Hengshi system, assigns them to tenants, adds corresponding permission controls, and then, when tenants make charts, they can use the data from the data marketplace.
Users on the platform provider's side with the "System Administrator" role can access the tenant management function.
Open Settings
-> Tenant Management
. The platform side can see a list of tenants, the number of logged-in users, the number of apps, etc., but cannot manage tenant users.
The tenant administrator is responsible for managing tenant users.
Creating a tenant will create a tenant and tenant administrator; the tenant administrator can manage tenant users.
Click on the three-dot menu in the Action
column, bringing up tenant operations: view, edit, disable/enable, update authorization.
View
means to view tenant information.
Click edit
to edit the company name and reset the tenant administrator's password.
You can enable or disable the tenant.
You can update the authorization code, such as updating from a trial authorization code to a formal one.
You can switch between Platform Account
and Enterprise WeChat Service Provider
.
Use HENGSHI authentication for verification.
Authenticate using Enterprise WeChat Service Provider, with configuration as follows:
Both the Platform Login
and Tenant Login
interfaces are effective; this setting simply designates the default login interface.
Platform login URL: https://xx.hengshi.org/#/login
Tenant login URL: https://xx.hengshi.org/#/tenant-login
On the User Management
page, what the platform provider's administrators see are only their own users (/api/users?tenant_id=null).
What tenant administrators see are only their own tenant's users (/api/users?tenant_id=XXX).
User login to the Hengshi system is done through oauth2 authentication (as is done with Enterprise WeChat). Users must be authenticated by Enterprise WeChat and registered in the Hengshi system to be able to log in.
The platform side creates data packs in the data marketplace. The "Data Permissions" of the data pack should be set to "App Author" or "Dataset Author".
After creating a data pack, the platform side authorizes the data pack, or the folder it is in, for access to the tenant.
ALL_TENANTS: All tenants
Set different data permissions for each tenant through the "Row-level Permission Control" of the data pack.
Select the users to control row permissions for; users not selected won't be affected by row permission control and will see all data in the data pack.