Skip to content
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

Normal User login after to tips:no permission #50

Closed
night2049 opened this issue Dec 10, 2021 · 4 comments · Fixed by #51
Closed

Normal User login after to tips:no permission #50

night2049 opened this issue Dec 10, 2021 · 4 comments · Fixed by #51

Comments

@night2049
Copy link

runtime: docker

run shell:
rocketmqdashboard:
image: apacherocketmq/rocketmq-dashboard:1.0.0
container_name: rmq-dashboard
deploy:
resources:
limits:
memory: 512M
restart: always
links:
- rmqnameserver
environment:
- JAVA_OPTS=-Drocketmq.namesrv.addr=rmqnameserver:9876
- "rocketmq.config.loginRequired=true"
- "rocketmq.config.dataPath=/tmp/rocketmq-console/data"
volumes:
- ./env/rmq.properties:/tmp/rocketmq-console/data/users.properties
- ./env/role-permission.yml:/tmp/rocketmq-console/data/role-permission.yml
ports:
- "9875:9875"

BUG REPORT
users.properties file add Normal User
web login this Normal User,tips no permission

image

@StyleTang
Copy link
Member

Normal users can only access URIs in the config rolePerms.ordinary.
Could you provide more information for troubleshooting, for example, which URI has no permission?

@StyleTang
Copy link
Member

After investigating, I found some of the read URIs is not default in the rolePerms.ordinary config, it is not a functionality Bug but it really makes user confused. I will create a new PR to improve it.

Thanks for your issue.

@StyleTang StyleTang linked a pull request Dec 10, 2021 that will close this issue
6 tasks
@StyleTang
Copy link
Member

PR has been submitted.
If it is urgent for you, the workaround is to modify the role-permission.yml yourself.

@night2049
Copy link
Author

PR has been submitted. If it is urgent for you, the workaround is to modify the yourself.role-permission.yml

thank you

zhangjidi2016 pushed a commit to zhangjidi2016/rocketmq-dashboard that referenced this issue Dec 14, 2021
StyleTang pushed a commit that referenced this issue Dec 16, 2021
* [ISSUE #50]Modify the suffix of the interface name.

* add perm

* fix dlq perm

Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants