goncalocribeiro opened a new issue #451:
URL: https://github.com/apache/pulsar-manager/issues/451


   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
   pulsar-manager.isAdmin=true
   # If true, the database is used for user management
   user.management.enable=false
   
   # default environment configuration
   default.environment.name=sibs_pulsar_local
   default.environment.service_url=http://172.25.147.191: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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to