What are Users and User Roles
The Cisco Spaces: IoT Explorer users are provided with Role-based access control (RBAC), where users or groups of users are provided with various user roles.
A user role is a collection of controls and restrictions which can be then assigned to a user.
Some user roles and the corresponding users are inherited from Cisco Spaces, and are automatically added to all IoT Explorer use cases by default.
Cisco Spaces: IoT Explorer user roles can be defined in many ways.
User roles can be defined by the following permissions:
-
Full Access: allows the user administrative access to all aspects of a usecase, including configuring and viewing sensors, rules, users, user roles, sensor table, events, work items, and notifications.
Read Only: allows the user read-only access to aspects of a usecase such as sensor table, rules, users, events, work items, and notifications.
Notifications Only: when a usecase event is generated by the Cisco Spaces: IoT Explorer rule engine, this user received a notification.
You can also have user roles that are location enabled. For instance, you can give floor staff access rights to viewing and searching for assets on the floor they work on.
Adding A User to Your Use Case
Procedure
Step 1 |
From the Cisco Spaces: IoT Explorer: Active Use Cases, choose the newly created use case. |
Step 2 |
Do one of the following:
|
Step 3 |
Enter the email address of the user and click Look Up. |
Step 4 |
In the Basic Details area, do the following: |
Step 5 |
You can add another user to this use case using the Add Another User button. |
Step 6 |
Click Done to add the user(s). |
Importing or Exporting Bulk Users to your Use Case
You can also import users in bulk. Navigate to Users and Roles > Import Users > Import a list of Users. Download the template provided and fill the details.
You can also export users defined for your usecase using the Export Users. You can import users to other use cases by using the generated Microsoft Excel spreadsheet.
Import Users from an Existing Use case
This task shows you how you can import users from an existing use case.
Procedure
Step 1 |
From the Cisco Spaces: IoT Explorer: Active Use Cases, choose the newly created use case. |
Step 2 |
Navigate to Users and Roles > Users and click Import Users and then Import Users from Another Use Case and then Next. |
Step 3 |
In the Import Users to this Use Case window that is displayed, choose the use case from which you want to import users. |
Step 4 |
In the window that is displayed, you see a table that allows you to map the user role of the chosen use case (use case A), to the user role of the new use case (use case B). You can use this table to import users from the first use case and assign them to the user role of your choice. Do the following:
|
Create Custom Roles for A Use Case
You can create custom roles that are applicable only to your use case.
This feature allows you to import users to your use case from another use case. In such a scenario, you can map the roles of two use cases, and import users into a custom role.
Procedure
Step 1 |
From the Cisco Spaces: IoT Explorer: Active Use Cases, choose the newly created use case. |
||
Step 2 |
Do one of the following:
|
||
Step 3 |
In the Add New Role displayed, do the following. |
||
Step 4 |
(Optional) Choose to assign locations to users assigned to this role by checking the This is a Location-Enabled Role option. Selecting this option also gives you further flexibility to configure location-specific event notifications. Users of this role can receive notifications based on the locations they are present in.
|
||
Step 5 |
Click Add. |
Configure Location-Enabled Rules
You can create rules that trigger location-dependent notification events like an email or an SMS. You can assign locations to users and user roles. You can then configure rules such that a user is notified of an event only if the user is at the assigned location when the event occurs.
-
Create location-enabled user roles.
-
Assign users to the location-enabled user roles.
-
Assign specific locations to each of these users.
-
Create a rule with location-enabled events, and notify only these location-enabled users or user roles.
Procedure
Step 1 |
From the IoT Explorer: Active Use Cases, choose a use case that requires location-enabled rules. |
||
Step 2 |
You can add a new location-enabled role or edit an existing role. Navigate to Users and Roles > Roles and do one of the following:
|
||
Step 3 |
In the page that opens, choose an Access Type and check the This is a Location Enabled Role option. |
||
Step 4 |
You can add a new user to this location-enabled role. Navigate to Users and Roles > Users click Add Users. |
||
Step 5 |
Enter the email address of the user and click Look Up. |
||
Step 6 |
In the Basic Details area, do the following: |
||
Step 7 |
You can add another user using the Add Another User button. |
||
Step 8 |
Click Done to add the users. |
||
Step 9 |
Now let us configure location-enabled rules for this use case. Navigate to the Rules tab and click Add Rule. |
||
Step 10 |
To configure this rule for specific locations from the location hierarchy, click the Conditions tab, and from the Location area choose locations from the location hierarchy. |
||
Step 11 |
To configure to send notifications based on the location, click Events. However, you can do the following:
|