Page History
On this page
| Table of Contents | ||
|---|---|---|
|
In certain security-related authentication scenarios, user access rights must be determined dynamically by SAML IDPs on each login operation by taking network and user location (and possibly other criteria) into account. Teamwork Cloud allows you to validate/invalidate user group membership based on SAML attribute values by using the conditional user groups feature.
When users are added to a conditional user group, they receive the group permissions only if the group condition is met, for example, if they log in from the right location.
| Note | ||
|---|---|---|
| ||
|
To create a conditional user group
- Go to the Users application
- Start creating a new or select to edit an existing user group.
- On the group details pane, turn on the Conditional user group switch.
- In the Condition box, enter the condition users must meet to be granted the group permissions. Available attributes are displayed below the Condition box. Learn more about condition syntax.
Warning When defining the condition for a conditional user group, make sure to use SAML attributes in the same way they are configured on the SAML page of the Settings application.
- Click to save the user group.
Click
Creating a conditional user group.
Condition syntax
Configuring SAML attributes
Conditions for conditional user groups accept only the SAML attributes configured in the authserver.properties file on the Settings application's SAML page used for SAML integration.
To configure SAML attributes for conditional user groups
- Open the <install_root>/AuthServer/config/authserver.properties file.
- Web Application Platform's Settings > SAML page.
Fill in the SAML user attributes for conditional user groups field with
Uncomment the authentication.saml.attributes property and provide a comma-separated list of the SAML attributes you want to use for conditional groups
as its value.
Restart Web Application PlatformSave the configuration.
Condition operators
You can define the conditions for conditional user groups using the configured SAML attributes and the following operators:
- Boolean operators: AND; OR
- Equality operators: ==; !=
- Grouping of statements: ()
| Tip | ||
|---|---|---|
| ||
| A conditional user group with condition (SAML.loginLocation == "Dallas" AND SAML. clearance == "Secret") OR SAML. department == "ITservices" will grand grant its permissions to the members who either log in from Dallas and have the "Secret" clearance level or belong to the IT Services department. |

