You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/12/10 10:02:24 UTC

[GitHub] [rocketmq-dashboard] night2049 opened a new issue #50: Normal User login after to tips:no permission

night2049 opened a new issue #50:
URL: https://github.com/apache/rocketmq-dashboard/issues/50


   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](https://user-images.githubusercontent.com/69810127/145555755-6b68d050-f856-42e3-89c1-5d8a7608d550.png)
   


-- 
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-unsubscribe@rocketmq.apache.org

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



[GitHub] [rocketmq-dashboard] StyleTang closed issue #50: Normal User login after to tips:no permission

Posted by GitBox <gi...@apache.org>.
StyleTang closed issue #50:
URL: https://github.com/apache/rocketmq-dashboard/issues/50


   


-- 
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-unsubscribe@rocketmq.apache.org

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



[GitHub] [rocketmq-dashboard] night2049 commented on issue #50: Normal User login after to tips:no permission

Posted by GitBox <gi...@apache.org>.
night2049 commented on issue #50:
URL: https://github.com/apache/rocketmq-dashboard/issues/50#issuecomment-992316305


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


-- 
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-unsubscribe@rocketmq.apache.org

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



[GitHub] [rocketmq-dashboard] StyleTang commented on issue #50: Normal User login after to tips:no permission

Posted by GitBox <gi...@apache.org>.
StyleTang commented on issue #50:
URL: https://github.com/apache/rocketmq-dashboard/issues/50#issuecomment-991089830


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


-- 
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-unsubscribe@rocketmq.apache.org

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



[GitHub] [rocketmq-dashboard] StyleTang commented on issue #50: Normal User login after to tips:no permission

Posted by GitBox <gi...@apache.org>.
StyleTang commented on issue #50:
URL: https://github.com/apache/rocketmq-dashboard/issues/50#issuecomment-991077370


   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.


-- 
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-unsubscribe@rocketmq.apache.org

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



[GitHub] [rocketmq-dashboard] StyleTang commented on issue #50: Normal User login after to tips:no permission

Posted by GitBox <gi...@apache.org>.
StyleTang commented on issue #50:
URL: https://github.com/apache/rocketmq-dashboard/issues/50#issuecomment-991041192


   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?
   


-- 
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-unsubscribe@rocketmq.apache.org

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