Skip to content

[🕹️] API Key sub-optimal display permissions of permissions #2195

@Flo4604

Description

@Flo4604

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

Currently, the way assigned / not assigned permissions of a key are displayed is not the most optimal way I think.

For me, this is the result of a few points:

  1. It's displayed as a graph => I don't really understand why but a checkbox tree would be more accessible and is also used in the Authorization -> Roles -> SomeRole -> Permissions tab which would be more consistent.
  2. With a lot of permissions the graph just becomes unreadable as its too stacked vertically
  3. What is the point of having the ability to drag permissions onto a key if it does nothing
  4. The permission names are cut off and there is no tooltip when hovering over them showing the full name

I think the way assigned / not assigned permissions of a key are displayed is not the most optimal way

Steps to Reproduce

  1. Create loads of permissions and assign some of them to roles
  2. Assign a single role to the key
  3. See how it looks
    Please see attached video

Expected behavior

I would expect this to be shown more straightforwardly, maybe just by taking the checkbox tree instead of this graph

Other information

key_permissions.mp4

Screenshots

No response

Version info

-

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions