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


  1. Select Synchronize Assets from the left navigation pane in the Admin Console.

  2. 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


  1. Select Synchronize Assets from the left navigation pane in the Admin Console.
  2. View the details of the synchronized assets in the asset list on the page.
  3. You can hover over the i_id 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


  1. Select Resource List from the left navigation pane in the Admin Console.
  2. View the details of the registered resources in the resource list on the page.
  3. You can hover over the i_id 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:

Assigning Resource Permissions by User or User Group


Assign resource permissions to users or user groups by the following steps:

  1. Select Resource Permission from the left navigation pane in the Admin Console.
  2. Select the target user or user group, and select Add Resource on the right.
  3. In the Available Resource section, select one ore more resources.
  4. Select Submit.


You can remove an assigned resource permission by the following ways:

  • Select Remove icon_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:

  1. Select Resource List from the left navigation pane in the Admin Console.
  2. Select Authorize to User i_touser or Authorize to User Group i_tousergroup of the target resource.
  3. In the Authorize to User or Authorize to User Group pop-up window, select Add User or Add User Group.
  4. Select the users or user groups to assign the resource permission to in the pop-up window.
  5. Select Submit.


You can remove an assigned resource permission by the following ways:

  • Select Remove icon_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.