User Roles

Each Avi Vantage user account is associated with a role. The role defines the type of access the user has to each area of the Vantage system.

Roles provide granular Role-Based Access Control (RBAC) within Avi Vantage.

The role, in combination with the tenant (optional), comprise the authorization settings for an Avi Vantage user.

Access Types

For each Avi Vantage system area, the role can be one of the following:

  • Write: User has full access to create, read, modify, and delete items. For example, the user may be able to create a virtual service, modify its properties, view its health and metrics, and later delete that virtual service.
  • Read: User may only read the existing configuration of the item. For example, the user may see how a virtual service is configured while being unable to view the current metrics, modify, or delete that virtual service.
  • No Access: User can neither see nor modify this section of Avi Vantage. For example, the user would be prohibited from creating, modifying, deleting, or even viewing (reading) any virtual services at all.

Pre-defined Avi Vantage User Roles

Avi Vantage comes with the following pre-defined roles:

  • Application-Admin: User has write access to the Application and Profiles sections of Avi Vantage, read access to the Infrastructure settings, and no access to the Account or System sections.
  • Application-Operator: User has read access to the Application and Profiles sections of Avi Vantage, and no access to the Infrastructure, Account, and System sections.
  • Security-Admin: User has read/write access only to the Templates > Security section.
  • System-Admin: User has write access to all sections of Avi Vantage.
  • Tenant-Admin: User has write access to all sections of Avi Vantage except the System section, to which the user has no access.

To display a detailed list of the access settings for a role, click on the table row for that role. Here is an example of the detailed information for the Application-Admin role. (The example is truncated on the right side in this example but the information will display in full in the web interface.)

role-details

Each user must be associated with at least one role. The role can be one of the pre-defined ones or a custom role.

If multitenancy is configured, a user can be assigned to more than one tenant, and can have a separate role for each tenant.

Create a Role

If none of the pre-defined roles exactly fit the access requirements for some user accounts, custom roles can be defined.

By default, access to each system area in a custom role is set to no access. Access can be changed to read or write, for an entire system area or for individual resources within that system area.

For example, to allow write access to all profiles, click the (picture) icon in the title row for the Profiles system area:

custom-role1

To instead give access to only some of the resources within a system area, select the access for each area. In this example, the role will have write access to some types of profiles but only read access to the other types:

custom-role2

When there are multiple types of access within a system area, this is indicated by the Assorted icon: role-icon-assorted

To create a custom role:

  1. Navigate to Administration > Accounts > Roles, and click Create.
  2. Enter a name for the role.
  3. Click one of the following icons to change access to a system area:
    • Write: role-icon-writeaccess
    • Read: role-icon-readaccess
    • No Access: role-icon-noaccess
  4. Click Save.

The new role appears in the table displayed when the Roles tab has been selected.

new-role-in-roletable

To edit a custom role, click the edit icon (not shown in example) to the right of the table entry.

Assigning a Role to a User

Roles can be assigned to both local and remote (LDAP, TACACS+) user accounts. The procedure differs depending on where the account is maintained.

Local User Account

Roles can be assigned to a user account when the account is created or at any time later. In either case, select the role from the Role pull-down list in the configuration popup for the user account.

  1. Navigate to Administration > Accounts > Users.
  2. If configuring a new account, click Create. Otherwise, if changing an existing account, click the edit icon in the row for the account.
  3. Select the role from the Role pull-down list. If a custom role is needed but is not created, click Create.

LDAP or TACACS+ User Accounts

If LDAP or TACACS+ remote authentication is used, roles can be assigned to users based on the following:

  • LDAP group: A role can be assigned to users in any group, or specifically to users who either are or are not members of specific groups.
  • LDAP attributes: For users who match the LDAP group filter, the role is assigned to those users with any attributes and values, or who either do or do not have specific attributes and values.

The mappings are configured within Avi Vantage rather than the LDAP or TACACS+ server.

To map LDAP or TACACS+ users to Avi Vantage roles, use the following steps. Multiple mappings can be configured if needed, for any combination of user group name and attribute:value pair.

Note: These steps assume that Avi Vantage authentication/authorization is set to remote, and an LDAP or TACACS+ Auth profile has been applied.

  1. Navigate to Administration > Settings > Authentication/Authorization.
  2. Click New Mapping.
  3. Select the filter for the LDAP group:
    • Any: Users in any LDAP group match the filter.
    • Member: Users must be members of the specified groups. If entering multiple group names, use commas between the names.
    • Not a Member: Users must not be members of the specified groups.
  4. Select the filter for the LDAP attribute:
    • Any: Users match regardless of attributes or their values.
    • Contains: User must have the specified attribute, and the attribute must have one of the specified values.
    • Does Not Contain: User must not have the specified attribute and value(s).
  5. Select the role from the User Role pull-down list:
    • From Select List: Displays a Roles pull-down list. Select the role from the list.
    • All: Assigns all roles.
    • Matching Attribute Value: Assigns the role whose name matches an attribute value from the LDAP server.
    • Matching Group Name: Assigns the role whose name matches a group name on the LDAP server.
  6. If using multitenancy, users also can be mapped to tenants. Read more about tenants and tenancy here.
  7. Click Save.
  8. The new mapping appears in the Tenant and Role Mapping table.

Updated: 2017-09-22 01:37:57 +0000