-
-
Notifications
You must be signed in to change notification settings - Fork 252
Open
Labels
status/triage/completedAutomatic triage completedAutomatic triage completedstatus/triage/manualManual triage in progressManual triage in progresstype/bugSomething isn't workingSomething isn't working
Description
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here
- I've tried running
main-labeled docker image and the issue still persists there - I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
A user with the CREATE permission on the connector resource cannot create a new connector.
Expected behavior
A user with permission to CREATE a connector should be able to create it if it matches the configured permission value (connectName/connectorName).
Ex:
value: "connectFoo/.*": allows to create any connector under theconnectFooclustervalue: ".*/my-prefix-.*": allows to create any connector prefixed bymy-prefix-in any connect cluster
Your installation details
Commit c0e5c21 (main branch)
Configuration:
permissions:
- resource: connect
value: "local"
actions: [ VIEW ]
- resource: connector
value: "local/.*"
actions: [ CREATE ]Steps to reproduce
- Configure Kafbat with a Connect cluster
- Configure authentication
- Create a role with Connector-level CREATE permission (+ VIEW)
- Login as a user with this role
- Navigate to the Kafka Connect tab
- See that the
Create Connectorbutton is disabled
Screenshots
Logs
No response
Additional context
This is a follow-up to #1541, it completes the #1612 issue about the VIEW permission
Metadata
Metadata
Assignees
Labels
status/triage/completedAutomatic triage completedAutomatic triage completedstatus/triage/manualManual triage in progressManual triage in progresstype/bugSomething isn't workingSomething isn't working