yiminyangguang520 opened a new issue, #157:
URL: https://github.com/apache/rocketmq-dashboard/issues/157

   The issue tracker is **ONLY** used for bug report and feature request. 
   
   Any question or RocketMQ proposal please use our [mailing 
lists](http://rocketmq.apache.org/about/contact/).
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
      ordinary user has no permission to access after setting 
server.servlet.context-path attribute in application.yml
   
   - What did you do (The steps to reproduce)?
   set server.servlet.context-path and rocketmq.config.loginRequired attribute 
in application.yml
   application.yml as follow:
       server:
         servlet:
           context-path: /rmq
       rocketmq:
         config:
           loginRequired: true
     
   user.properties as follow:
       ` admin=admin,1`
       ` user1=user1`
       ` user2=user2`
   
   start app with branch master,login with user 'user1', It occur error with 
prompt 'no permisson'
   
   - What did you expect to see?
   ordinary user can access normally
   
   - What did you see instead?
      It occur 'no permisson'
   
   2. Please tell us about your environment:
       jdk 1.8
       branch master
   
   4. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   how to fix:
   
![微信图片_20230328103320](https://user-images.githubusercontent.com/7455230/228112311-23b1b60a-f5b7-49fb-a465-a273776964cb.jpg)
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to