In Cisco Crosswork Planning, each user account is assigned a user role. This user role controls what the user can do when using the platform and its applications. A user role defines access by combining named functional categories and permissions assigned to each category.
User roles
The Roles page lets users with the appropriate privileges define custom user roles.
As with the default admin role, a custom user role consists of
-
a unique name, such as “Operator” or “admin”
-
one or more selected, named functional categories, which control whether a user with that role has access to the APIs needed to perform specific Cisco Crosswork functions controlled by that API, and
-
one or more selected permissions, which control the scope of what a user with that role can do in the functional category.
For a user role to have access to a functional category, you must select both the category and its underlying API on the Roles page for that role. If a functional category is not selected for a user role, users assigned to that role will not have access to that functional area.
Functional categories
Some functional categories group multiple APIs under one category name. For example, the “AAA” category controls access to the Password Change, Remote Authentication Servers Integration, and Users and Role Management APIs. With this type of category, you can deny access to some of the APIs by leaving them unselected and provide access to others by selecting them. For example, to create an “Operator” role with permission to change their own password, but not to view or change the settings for your installation’s integration with remote AAA servers, or to create new users and roles, select the “AAA” category name. Then, uncheck the “Remote Authentication Server Integration API” and “Users and Role Management API” check boxes.
Permissions
For each role with a selected category, you can define permissions to each underlying functional API on the Roles page.
There are three permission types available per API.
-
Read: lets the user view and interact with the objects controlled by that API, but not change or delete them.
-
Write: lets the user view and change the objects controlled by that API, but not delete them.
-
Delete: lets the user role delete privileges over the objects controlled by that API. Note that the delete permission does not override basic limitations set by the Cisco Crosswork platform and its applications.
Rules for permissions
Although you can mix permissions as you wish, note these rules for permissions.
-
If you select an API for user access, you must provide at least “Read” permission to that API.
-
When you select an API for user access, Cisco Crosswork assumes you want the user to have all permissions on that API and selects all three permissions automatically.
-
If you uncheck all the permissions, including “Read”, Cisco Crosswork assumes that you want to deny access to the API, and unselect it for you.
Recommendations
Cisco recommends these best practices when creating custom user roles.
-
Restrict "Delete" permissions to admin users who have explicit administrative responsibility for maintaining and managing the Cisco Crosswork deployment as a whole.
-
Roles for developers working with all Cisco Crosswork APIs need the same permissions as admin users.
-
Assign at least "Read" and "Write" permissions to roles for users who are actively engaged in managing the network using Cisco Crosswork.
-
Assign read-only access to roles for users who only need to see the data to support their work as system architects or planners.
This table describes some sample custom user roles you should consider creating.
Table 1.
Sample custom user roles
| Role |
Description |
Categories/API |
Privileges |
| Operator |
Active network manager |
All |
Read, Write |
| Monitor |
Monitors alerts only |
Cisco Crosswork Planning Design and Collector |
Read only |
| API Integrator |
All |
All |
All |
Note
Admin role must include permissions for Read, Write, and Delete. Read-write roles need to include both Read and Write permissions.