Permissions Management
If you need to assign different permissions to employees in your enterprise to access your Huawei HiLens resources, 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. For example, some software developers in your enterprise need to use Huawei HiLens resources but must not 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 individual IAM users for permissions management, you may skip over this chapter.
IAM can be used 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. You need to add a user to one or more groups, and assign 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 Huawei 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 need to also assign other roles on which the permissions depend to take effect. 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.
|
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 |
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 |
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 |
- |
Table 2 lists the common operations supported by each system policy of Huawei HiLens. Please choose proper system policies according to this table.
|
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 |
|
|
Obtain the list and details of custom skills. |
√ |
√ |
√ |
|
|
Customize a skill. |
√ |
√ |
x |
|
|
Delete a custom skill. |
√ |
√ |
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 |
Last Article: Basic Concepts
Next Article: Related Services
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.