Help Center/ Huawei HiLens/ Service Overview/ Permissions Management
Updated on 2023-06-26 GMT+08:00

Permissions Management

If you want to assign different permissions to employees in your enterprise to access Huawei HiLens resources you purchased on Huawei Cloud, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your Huawei Cloud resources.

With IAM, you can use your Huawei Cloud account to create IAM users for your employees, and assign permissions to the users to control their access to specific resources of various types. For example, some software developers in your enterprise need to use Huawei HiLens resources but must not be allowed to delete skills or perform any high-risk operations. To achieve this result, you can create IAM users for the software developers and grant them only the permissions required for using Huawei HiLens resources.

If your Huawei Cloud account does not need IAM users for permissions management, you may skip over this chapter.

IAM is free of charge. You pay only for the resources in your account. For more information about IAM, see IAM Service Overview.

Huawei HiLens Permissions

By default, new IAM users do not have any permissions assigned. To grant permissions to a user, add the user to one or more groups and attach permissions, policies or roles to these groups. The user then inherits permissions from the groups it is a member of. This process is called authorization. After authorization, the user can perform specified operations on Huawei HiLens based on the permissions.

Huawei HiLens is a project-level service deployed and accessed in specific physical regions. To assign HiLens permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing Huawei HiLens, the users need to switch to a region where they have been authorized to use Huawei HiLens.

You can grant users permissions by using roles and policies.

  • Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you must also assign other roles on which the permissions depend. However, roles are not an ideal choice for fine-grained authorization and secure access control.
  • Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant ECS users only the permissions for managing a certain type of ECSs. For the API actions supported by Huawei HiLens, see Permissions Policies and Supported Actions in the Huawei HiLens User Guide.

Table 1 lists all the system-defined roles and policies supported by Huawei HiLens.

Table 1 Huawei HiLens system policies

Policy Name

Description

Policy Type

Dependency

HiLens FullAccess

Administrator permissions for Huawei HiLens. Users granted these permissions can operate and use all Huawei HiLens resources.

System-defined policy

When you log in to HiLens, the agency information is checked in IAM. You need to grant the IAM ReadOnlyAccess permission policy. The permissions to apply for the open beta test (OBT), set alarm reporting, and set skill messages depend on the SMN Administrator role. To apply for the OBT, and set alarm receiving and skill messages, you must be granted the SMN Administrator role.

HiLens CommonOperations

Operation permissions for Huawei HiLens. Users granted these permissions can perform operations on Huawei HiLens, except deregistering devices and suspending skills.

System-defined policy

When you log in to HiLens, the agency information is checked in IAM. You need to grant the IAM ReadOnlyAccess permission policy. The permissions to apply for the open beta test (OBT), set alarm reporting, and set skill messages depend on the SMN Administrator role. To apply for the OBT, and set alarm receiving and skill messages, you must be granted the SMN Administrator role.

HiLens ReadOnlyAccess

Read-only permissions for Huawei HiLens. Users granted these permissions can only view Huawei HiLens data.

System-defined policy

When you log in to HiLens, the agency information is checked in IAM. You need to grant the IAM ReadOnlyAccess permission policy.

Table 2 lists the common operations supported by each system policy of Huawei HiLens (Basic Edition). Please choose proper system policies according to this table.

Table 2 Common operations supported by each system-defined policy or role of Huawei HiLens

Functional Module

Operation

Huawei HiLens FullAccess

Huawei HiLens CommonOperations

Huawei HiLens ReadOnlyAccess

Device management

Obtain the list of devices.

Register a device.

x

Obtain the list of skills installed on a device.

Obtain the device configuration information.

Update the device configuration information.

x

Update the device information.

x

Upgrade device firmware.

x

Deregister a device.

x

x

Uninstall a specified skill on a specified device.

x

Start a specified skill on a specified device.

x

Update the configuration information of a specified skill on a specified device.

x

Stop a specified skill on a specified device.

x

Obtain the configuration information of a specified skill on a specified device.

Skill development

Obtain the list and details of developed skills.

Create a skill.

x

Edit a developed skill.

x

Release a developed skill to the skill market.

x

Deploy a developed skill to a device.

x

Delete a developed skill.

x

Obtain the list and details of skill models.

Obtain the list and details of model conversion jobs.

Import a skill to Huawei HiLens.

x

Create a model conversion job.

x

Obtain the list and details of skill templates.

Download a skill template.

x

Add a skill template to favorites.

x

Remove a skill template from favorites.

x

Delete a skill model.

x

Skill market

Obtain the skill list of the skill market.

Install a skill purchased from the skill market.

x

Obtain the skill details in the skill market.

Obtain the skill billing information in the skill market.

Create a skill order in the skill market.

x

Obtain the skill order list in the skill market.

Download a skill from the skill market.

x

Remove a released skill from the catalog of the skill market.

x

x

Product management

Update the product information.

x

Obtain the list of products.

Create a product.

x

Delete a product.

x

Distributes skill orders to products.

x

Obtain the skill order list of a product.

Update the skill order information of a product.

x

Delete the skill order information of a product.

x