[Index]

Model: data/LdapUserRoleMappingsDAT

LDAP Custom Role Mappings

To access the latest documentation, go to Documentation and Resources at: https://voss.portalshape.com

This procedure applies customized roles to LDAP synced and moved users, and overwrites the default roles that are applied following an LDAP User Sync or Move User operation.

Note

This procedure is relevant only for top-down deployments.

Important

For LDAP User Sync

For Move User

Perform these steps:

  1. Log in as provider or reseller administrator.
  2. Set the hierarchy path to where the LDAP Custom Role Mapping must be added.
  3. Choose LDAP Management > LDAP Custom Role Mappings.
  4. Click Add.
  5. Complete the following mandatory fields:
Field Description
Active Directory Group* A group in the Active Directory to which the user belongs. This is derived from the 'memberOf' from the LDAP Schema. This must be an exact match of the value defined in Active Directory, e.g. CN=Administrators,CN=Builtin,DC=test,DC=net.
Target Role Context*

This value defines the hierarchy for which the Custom Role Mapping will be applied. This must match the hierarchy type where the users are Synced, or their destination hierarchy when moved.

For example, if the user is assigned a 'CustomerAdmin' role, and the LDAP User Sync is configured at Customer level then the Target Role Context must be set to Customer. If the user is assigned a 'SiteAdmin' role, and the user is being moved either manually or automatically using 'Filter to a Site', then the Target Role Context must be set to Site.

Choose the hierarchy node type from the drop-down list.

Target Role* The role which will be applied to the user if their Active Directory Group and Target Role Context are matched. This must be a valid role at the user's destination hierarchy. This can be defined at a specific role or defined as a macro, e.g. if the user is assigned a 'SiteAdmin' role then the role can be defined as the exact name of the role or defined as a macro, which allows re-use for any site name e.g. {{macro.SITENAME}}SiteAdmin.
  1. Click Save.

The DataModel which the admin-user can use to optionally define Role mappings between AD users and VOSS users. Instances of this model is then used by LDAP User Sync and Move User use-cases.

Model Details: data/LdapUserRoleMappingsDAT

Title Description Details
Active Directory Group * A group in the Active Directory (AD) to which the user belongs. This is derived from the 'memberOf' from the LDAP Schema. This must be an exact match of the value defined in Active Directory, e.g. CN=Administrators,CN=Builtin,DC=test,DC=net.
  • Field Name: ad_group
  • Type: String
Target Role Context * This value defines the hierarchy for which the Custom Role Mapping will be applied. This must match the hierarchy type where the users are Synced, or their destination hierarchy when moved.
  • Field Name: role_context
  • Type: String
  • Choices: ["Provider", "Reseller", "Customer", "Site", "IntermediateNode"]
Target Role * The role which will be applied to the user if their AD Group and Target Role Context are matched. This must be a valid role at the user's destination hierarchy. This can be defined at a specific role or defined as a macro.
  • Field Name: target_role
  • Type: String