8000 login does not authorize some topic browsing functions · Issue #69 · tchiotludo/akhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

login does not authorize some topic browsing functions #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ftardif opened this issue May 23, 2019 · 5 comments
Closed

login does not authorize some topic browsing functions #69

ftardif opened this issue May 23, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@ftardif
Copy link
ftardif commented May 23, 2019

although I am logged in with all roles, when doing basic browsing (such as sorting, or clicking upper right green paging arrow), I am always redirected to the login page.

see video:
https://photos.app.goo.gl/ibSZnP93CcUUbijm7

@ftardif
Copy link
Author
ftardif commented May 23, 2019

my config is:

[ftardif@fonse-db1 ~]$ cat /opt/kafkahq/application.yml
---
kafkahq:
  server:
    base-path: "/kafka/kafkahq"
  connections:
    kafka-vic:
      properties:
        bootstrap.servers: geo-kafka-broker.query.consul:9092
      schema-registry:
        url: http://geo-kafka-schema-registry.query.consul:8081

  security:
    default-roles:
      - topic/read
      - node/read
      - topic/data/read
      - group/read
      - registry/read
      - connect/read
    basic-auth:
      vtsoftware:
        password: ...................
        roles:
          - topic/insert
          - topic/delete
          - topic/config/update
          - node/config/update
          - topic/data/insert
          - topic/data/delete
          - group/delete
          - group/offsets/update
          - registry/insert
          - registry/update
          - registry/delete
          - registry/version/delete
          - connect/
          - connect/insert
          - connect/update
          - connect/delete
          - connect/state/update

@tchiotludo
Copy link
Owner

Really don't understand where is your bug 🤔
On the video, you are never redirected to login page...
I see that you try to see data on empty topics (size 0 on list).
All seems to be a normal behavior.

Or maybe I don't understand ?

@tchiotludo tchiotludo added the question Further information is requested label May 23, 2019
@ftardif
Copy link
Author
ftardif commented May 23, 2019

I took the wrong video , sorry :(
this one should show you the problem:
https://photos.app.goo.gl/TF8PmjAnoqhbtesQ6

@tchiotludo
Copy link
Owner

Ok got it, must be because of basepath.
Will fix it in a couple of hours

@tchiotludo
Copy link
Owner

Fix on dev branch

docker pull tchiotludo/kafkahq:dev

# if you want the jar version
docker run --rm --name=kafkahq -it tchiotludo/kafkahq:dev
docker cp kafkahq:/app/kafkahq.jar . 

@tchiotludo tchiotludo added bug Something isn't working and removed question Further information is requested labels May 23, 2019
ghost pushed a commit that referenced this issue Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0