Skip to content

bug: Role permission list shows IDs and fails to load in Superset v6 #41454

Description

@murattkoc

Bug Description

When attempting to view or edit a role in Apache Superset v6, the permissions list fails to load properly.

Instead of displaying human-readable permission names, the UI only shows internal database IDs (e.g., 7, 15, 30, 31) without any descriptive labels.

The UI also shows the error message: "There was an error loading permissions".

Observed Behavior
Permissions dropdown displays raw numeric IDs instead of permission names
No descriptive labels are shown for permissions
UI shows a toast error: "There was an error loading permissions"
API / Network Error

Backend request returns HTTP 400 Bad Request with the following response:

{
"message": "Filter column: id not allowed to filter"
}

Screenshots

Screenshot 1: https://github.com/user-attachments/assets/755b48c8-ef13-4e8e-ac65-83d7cd08ef59

Environment

Superset version: 6.1.0
Python version: 3.9
Node version: 16
Browser: Firefox

Metadata

Metadata

Assignees

No one assigned

    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