Skip to content

No scopes are defined in deployment.config.json for dynamicConnector feature #23280

@ashanthamara

Description

@ashanthamara

Description

$subject

Due to above reason, when an authorized user(with limited permissions) logs into the console, routes of above connector also gets resolved.

When the order id of the targeted feature route is lower than the order id of the dynamicConnector route, UI for the intended feature does not get the priority.
In such cases UI tend to break.

Screen.Recording.2025-02-26.at.2.04.36.PM.mov

Due to the $subject, following routes are also loaded in the UI along with the intended routes.

[
    {
        "component": {
            "_payload": {
                "_status": -1
            }
        },
        "exact": true,
        "icon": {
            "icon": {
                "key": null,
                "ref": null,
                "props": {
                    "fill": "black",
                    "className": "icon"
                },
                "_owner": null,
                "_store": {}
            }
        },
        "id": "dynamicConnector",
        "name": "Dynamic Connector",
        "order": 24,
        "path": "/t/carbon.super/console/connector/:categoryId/:connectorId",
        "protected": true,
        "showOnSidePanel": false
    },
    {
        "component": {
            "_payload": {
                "_status": -1
            }
        },
        "exact": true,
        "id": "pre-issue-access-token",
        "name": "Pre Issue Access Token",
        "path": "/t/carbon.super/console/actions/pre-issue-access-token",
        "protected": true,
        "showOnSidePanel": false
    },
    {
        "component": {
            "_payload": {
                "_status": -1
            }
        },
        "exact": true,
        "id": "pre-update-password",
        "name": "Pre Update Password",
        "path": "/t/carbon.super/console/actions/pre-update-password",
        "protected": true,
        "showOnSidePanel": false
    },
    {
        "category": "extensions:manage.sidePanel.categories.extensions",
        "children": [
            {
                "component": {
                    "_payload": {
                        "_status": -1
                    }
                },
                "exact": true,
                "id": "pre-issue-access-token",
                "name": "Pre Issue Access Token",
                "path": "/t/carbon.super/console/actions/pre-issue-access-token",
                "protected": true,
                "showOnSidePanel": false
            },
            {
                "component": {
                    "_payload": {
                        "_status": -1
                    }
                },
                "exact": true,
                "id": "pre-update-password",
                "name": "Pre Update Password",
                "path": "/t/carbon.super/console/actions/pre-update-password",
                "protected": true,
                "showOnSidePanel": false
            }
        ],
        "component": {
            "_payload": {
                "_status": -1
            }
        },
        "exact": true,
        "featureFlagKey": "actions",
        "icon": {
            "icon": {
                "key": null,
                "ref": null,
                "props": {
                    "className": "icon",
                    "fill": "black"
                },
                "_owner": null,
                "_store": {}
            }
        },
        "id": "actions",
        "name": "pages:actions.title",
        "order": 30,
        "path": "/t/carbon.super/console/actions",
        "protected": true,
        "showOnSidePanel": true
    },
    {
        "component": {
            "_payload": {
                "_status": -1
            }
        },
        "exact": true,
        "icon": null,
        "id": "multiAttributeLogin",
        "name": "governanceConnectors:connectorCategories.accountManagement.connectors.multiattributeLoginHandler.friendlyName",
        "order": 999,
        "path": "/t/carbon.super/console/multi-attribute-login",
        "protected": true,
        "showOnSidePanel": false
    },
    {
        "component": null,
        "icon": null,
        "id": "404",
        "name": "404",
        "path": "*",
        "protected": true,
        "redirectTo": "/t/carbon.super/console/404",
        "showOnSidePanel": false
    }
]

Steps to Reproduce

  1. Create a console role. Assign only one permission (e.g., actions:view)
  2. Create a user and assign that role to the user
  3. Logs into the console using that user

Version

7.2.0

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions