Skip to main content

Creating a license rule

You create a license rule to specify for which users a login access rule is available. It is possible to have a login access rule without a license rule, but in that case, the login access rule is applied globally across the system, and that is not recommended.

Do the following:

  1. Open the QMC: https://<QPS server name>/qmc

  2. Select License management on the QMC start page or from the Start Arrow down drop-down menu to display the overview.

  3. Select Login access rules in the panel to the right.

  4. Select a login access rule and click Edit.

    Note: To create a new login access rule, see: Creating login access rules .
  5. Under Associated items, select License rules.

  6. Click Create associated rule.

  7. Edit the license rules as needed:

    1. Identification
    2. Login access identification rules
      Rule Description
      Disabled Rule toggle. (Disabled by default)
      Name The name of the login access rule. (Mandatory)
      Description The description of the rule.
    3. Basic

      If you change the Resource filter, the rule may not work as intended.

    4. The option Allow access is automatically selected.

      Operator descriptions
      Operator Descriptions and examples
      =

      This operator is not case sensitive and returns True if the compared expressions are exactly equal.

      Example:  

      user.name = ”a*”

      The user named exactly a* is targeted by the rule.

      like

      This operator is not case sensitive and returns True if the compared expressions are equal.

      Example:  

      user.name like ”a*”

      All users with names beginning with an a are targeted by the rule.

      !=

      This operator is not case sensitive and returns True if the values in the compared expressions are not equal.

      Example:  

      user.name != resource.name

      All resources that do not have the same name as the user are targeted by the rule.

    5. Advanced

      Define the resource, user, or combined Conditions that the rule should apply to.

  8. Optionally, edit the Advanced properties and create the Conditions for the rule.

  9. Click Apply to create and save the license rule.

    The license rule was successfully added to the associated items is displayed at the bottom of the page.