Skip to content

[Bug] Missing values/properties in 'Get a role' (get-role) #966

Description

@yannick-beot-sp

Describe the bug

operation fields is missing the latest addition:

Image

I'm thinking about:

  • DOES_NOT_CONTAIN
  • GREATER_THAN_EQUALS
  • GREATER_THAN
  • LESS_THAN
  • LESS_THAN_EQUALS

Also, the criteria has a new property values, which is a array and is also missing.

Example of a dummy roles with new values of operation

{
    "id": "ff4ad00c16a74d9f84adbfb6f5fc0154",
    "name": "test import",
    "created": "2025-08-04T11:56:59.10248Z",
    "modified": "2025-11-12T09:11:38.735545Z",
    "description": null,
    "owner": {
        "type": "IDENTITY",
        "id": "247600e4f39a460b89cf7d7f06853f62",
        "name": "se.admin"
    },
    "entitlements": [],
    "accessProfiles": [],
    "membership": {
        "type": "STANDARD",
        "criteria": {
            "operation": "OR",
            "key": null,
            "values": null,
            "stringValue": null,
            "children": [
                {
                    "operation": "AND",
                    "key": null,
                    "values": null,
                    "stringValue": null,
                    "children": [
                        {
                            "operation": "EQUALS",
                            "key": {
                                "type": "IDENTITY",
                                "property": "attribute.city",
                                "sourceId": null
                            },
                            "values": [
                                "London",
                                "Paris"
                            ],
                            "stringValue": null,
                            "children": null
                        },
                        {
                            "operation": "DOES_NOT_CONTAIN",
                            "key": {
                                "type": "IDENTITY",
                                "property": "attribute.adDistinguishedName",
                                "sourceId": null
                            },
                            "values": [
                                "gf"
                            ],
                            "stringValue": null,
                            "children": null
                        }
                    ]
                },
                {
                    "operation": "LESS_THAN_EQUALS",
                    "key": {
                        "type": "ACCOUNT",
                        "property": "attribute.carLicense",
                        "sourceId": "da8b3d55ba26439b90caabb9f3c4e6c1"
                    },
                    "values": [
                        "12"
                    ],
                    "stringValue": null,
                    "children": null
                }
            ]
        },
        "identities": null
    },
    "legacyMembershipInfo": null,
    "enabled": false,
    "requestable": false,
    "accessRequestConfig": {
        "commentsRequired": false,
        "denialCommentsRequired": false,
        "approvalSchemes": [],
        "reauthorizationRequired": false
    },
    "revocationRequestConfig": {
        "approvalSchemes": []
    },
    "segments": [],
    "dimensional": false,
    "dimensionRefs": [],
    "accessModelMetadata": {
        "attributes": []
    },
    "additionalOwners": []
}

The new values of operation and the "values" property should be added to the schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions