You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/22 07:47:21 UTC

[GitHub] [cloudstack] weizhouapache opened a new issue #5494: Normal users with granted permission on listconfigurations/updateconfiguration are able to list and update global configurations

weizhouapache opened a new issue #5494:
URL: https://github.com/apache/cloudstack/issues/5494


   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   master
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   N/A
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   as titile
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. create a role from Role 'User'
   2. add listconfigurations and updateconfigurations to allow lists
   3. create an account/user from the new role
   4. list and update configuration by the user
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   user can only be able to list/update account settings
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   user is able to list/update account settings, domain settings, cluster settings, global settings, etc
   
   ~~~
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] rhtyd commented on issue #5494: Normal users with granted permission on listconfigurations/updateconfiguration are able to list and update global configurations

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5494:
URL: https://github.com/apache/cloudstack/issues/5494#issuecomment-925249841






-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] davidjumani commented on issue #5494: Normal users with granted permission on listconfigurations/updateconfiguration are able to list and update global configurations

Posted by GitBox <gi...@apache.org>.
davidjumani commented on issue #5494:
URL: https://github.com/apache/cloudstack/issues/5494#issuecomment-925549337


   I can add a fix to restrict users as well, as part of https://github.com/apache/cloudstack/pull/4339


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] weizhouapache commented on issue #5494: Normal users with granted permission on listconfigurations/updateconfiguration are able to list and update global configurations

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5494:
URL: https://github.com/apache/cloudstack/issues/5494#issuecomment-924850157


   I have discussed with @Pearl1594 
   It seems many apis have similar issue (not sure if it is a real issue).
   some APIs have `authorized = {RoleType.Admin` in APICommand annotation, but many old APIs do not have it.


-- 
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: commits-unsubscribe@cloudstack.apache.org

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



[GitHub] [cloudstack] nvazquez closed issue #5494: Normal users with granted permission on listconfigurations/updateconfiguration are able to list and update global configurations

Posted by GitBox <gi...@apache.org>.
nvazquez closed issue #5494:
URL: https://github.com/apache/cloudstack/issues/5494


   


-- 
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: commits-unsubscribe@cloudstack.apache.org

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