Condition Lists

Once you’ve created a few Conditions, you can combine them in many different ways.

To require multiple conditions to be satisfied at the same time, use an “all” list:

{
    "all": ["FULL_NAME", "ACTIVE", "SUPERUSER"]
}

To allow just one of a set of conditions, use an “any” list:

{
    "any": ["FULL_NAME", "FB_CONNECTED", "EMAIL_VERIFIED"]
}

Of course the lists may be nested:

{
    "all": [
        "ACTIVE",
        "SUPERUSER",
        {
            "any": [
                "FULL_NAME",
                "FB_CONNECTED",
                "EMAIL_VERIFIED"
            ]
        }
    ]
}

You may also add NOT to the beginning of any condition to evaluate its negation:

{
    "all": ["FULL_NAME", "ACTIVE", "NOT SUPERUSER", "NOT STAFF"]
}