apache / apache/pulsar-manager
[user.management.enable=false] - default user/password is not admin
- Dominant language
- Vue
- Stars
- 539
- Forks
- 239
- PR merge metrics
- No merged PRs in 30d
Description
I've already seen the issue #347, which says it has been solved by #351 but that doesn't work.
The default user/password continues to not be an admin user.
If I have my application.properties as follows:
# If user.management.enable is true, the following account and password will no longer be valid.
pulsar-manager.account=pulsar
pulsar-manager.password=pulsar
# If true, the database is used for user management
user.management.enable=false
# default environment configuration
default.environment.name=pulsar_local
default.environment.service_url=http://xx.xx.xx.xx:8080
And then login with pulsar/pulsar, the default environment configuration is not even loaded.
If I try to add a new environment, it says "User does not have permission to operate".
Please solve this issue.
I believe that maybe, it needs to be added "headers.add("role", "admin");" in LoginController when user.management.enable=false.
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.