Managing Resources¶
The resources in Application Portal contains to following aspects:
The devices synchronized from EnOS Device Connectivity and Management or EnOS Onboarding Tool
The information containing specific business meanings, such as business regions or business groups.
This article introduces how OU administrators manage resources in Admin Console.
Prerequisites¶
Before you start, make sure the following items:
The resources have been connected to EnOS Management Console. For more information on the connection to EnOS, see Device and Data Connectivity.
The assets have the corresponding tags or are associated to the models with the corresponding tags. For more information on the tags and models, see Registering an Asset or Creating a Model.
Creating Resource Types¶
A resource type is a collection of assets with the same properties, such as business meaning or practical application, to classify resources. OU administrators can create resource types by the Create Resource Type API provided by Application Portal.
Registering or Synchronizing Resources¶
OU administrators can register or synchronize resources to Application Portal by the following ways:
Synchronize the assets connected through EnOS Device Connectivity and Management to Application Portal.
Register resources with specific business meanings through Application Portal API.
Synchronizing Assets ¶
Select Synchronize Assets from the left navigation pane in the Admin Console.
Select the Synchronize Assets button to synchronize the assets with the specified tags from EnOS Management Console. Currently, the tags of different asset types in Application Portal are shown as below.
Tag
Asset Type
auth_unit:true
Physical Asset
logic_unit:true
Business Asset
Registering Resources¶
OU administrators can register resources through the Register Resource Open API provided by Application Portal.
Viewing Resource Details¶
OU administrators can view the details of synchronized or registered resources of the current OU.
Viewing Synchronized Assets¶
Select Synchronize Assets from the left navigation pane in the Admin Console.
View the details of the synchronized assets in the asset list on the page.
You can hover over the icon of an asset to view the asset ID. You can perform multiple tasks with asset IDs, such as specifying an asset when calling Application Portal APIs.
Viewing Registered Resources¶
Select Resource List from the left navigation pane in the Admin Console.
View the details of the registered resources in the resource list on the page.
You can hover over the icon of a resource to view the resource ID. You can perform multiple tasks with resource IDs, such as specifying a resource when calling Application Portal APIs.
Assigning Resource Permissions¶
OU users need the resource permissions to view resource information in related applications. Assign resource permissions to OU users by the following ways:
On the Organization Structure page, add resources to an organization structure node, then assign the node to users. For more information, see Assigning Resources to Nodes.
On the Resource Permission page, configure the resource permissions of users or user groups. For more information, see Assigning Resource Permissions by User or User Group.
On the Resource List page, assign resource permissions to users or user groups. For more information, see Assigning Resource Permissions by Resource.
Assigning Resource Permissions by User or User Group¶
Assign resource permissions to users or user groups by the following steps:
Select Resource Permission from the left navigation pane in the Admin Console.
Select the target user or user group, and select Add Resource on the right.
In the Available Resource section, select one ore more resources.
Select Submit.
You can remove an assigned resource permission by the following ways:
Select Remove in the assigned resource list of the target users or user groups.
Select Batch Remove in the Add Resource pop-up window, select the target resources then select Remove.
Assigning Resource Permissions by Resource¶
Note
You can only assign the permissions of resources registered through the Application Portal API.
Assign the permission of a specified resource to users or user groups by the following steps:
Select Resource List from the left navigation pane in the Admin Console.
Select Authorize to User or Authorize to User Group of the target resource.
In the Authorize to User or Authorize to User Group pop-up window, select Add User or Add User Group.
Select the users or user groups to assign the resource permission to in the pop-up window.
Select Submit.
You can remove an assigned resource permission by the following ways:
Select Remove in the assigned user or user group list.
Select Batch Remove in the Authorize to User or Authorize to User Group pop-up window, select the target users or user groups then select Remove.