redpanda-data / redpanda-data/console
ACL tab not showing principles of type unknow
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 432
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 40
Description
i'm using redpanda console to view the acls on my kafka cluster.
However, the acltab filters the list of ACLs based on principle type User, but we use ACLs based on SPIFFE, and the principle then starts with SPIFFE and not USER.
Why limit to ACLS of principleType USER, while other principle types also exist on kafka. Remove the filter or let the user be able to filter on principle type, perhaps default User, but the option to select all in the bowser should also be possible
In the ACL view on a topic, there is no filtering on principle type and the ACLs based on SPIFFE are shown.
Line of code that filters for Principle type USER
https://github.com/redpanda-data/console/blob/82547b42df8d5141814e0a0013c3bebcf63eb974/frontend/src/components/pages/acls/Acl.List.tsx#L584
Is it possible to change this behavior of filtering on principleType User?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open frontend/src/components/pages/acls/Acl.List.tsx at line 584 and compare its principle-type handling with the topic ACL view, where SPIFFE-based ACLs are shown. The change is complete when ACLs with non-USER principle types are visible or selectable in the ACL list without hiding existing USER ACLs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- authorization, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100