Skip to content

πŸ” RBAC permissions: message_delete right -add too many privilegesΒ #1409

@aguyonp

Description

@aguyonp

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)

Hello developers :)

I hope you have a good day!

I just encountered a problem:

"messages_delete" right seems to also add "edit" permission on the "topic" resource.

⚠️ I can edit and save topic settings! Without right into the YAML ⚠️

Thanks for your feedback.

Expected behavior

No response

Your installation details

Docker with 1.3.0 version

Steps to reproduce

change permissions with YAML config like the documentation:

https://ui.docs.kafbat.io/configuration/rbac-role-based-access-control#permissions

this config:
- resource: topic
value: ".*"
actions:
- view
- messages_read
- messages_produce
- messages_delete <- by adding this, it also add "edit" permission on the "topic" resource.
- analysis_run
- analysis_view

Screenshots

No response

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/rbacRelated to Role Based Access Control featurestatus/duplicateThis issue or pull request already existsstatus/triage/completedAutomatic triage completedstatus/triage/manualManual triage in progresstype/bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions