harikrishna-patnala opened a new pull request, #9550:
URL: https://github.com/apache/cloudstack/pull/9550

   ### Description
   
   This PR fixes the issue #9413 
   
   The original fix was to allow user to do actions (update, restart, delete) 
on the network only if the user owns the network and if user role is of Admin 
or domain admin.
   
   If the network belongs to a project then the actions can be allowed as it 
belongs to only to that project.
   
   <!--- Describe your changes in DETAIL - And how has behaviour functionally 
changed. -->
   
   <!-- For new features, provide link to FS, dev ML discussion etc. -->
   <!-- In case of bug fix, the expected and actual behaviours, steps to 
reproduce. -->
   
   <!-- When "Fixes: #<id>" is specified, the issue/PR will automatically be 
closed when this PR gets merged -->
   <!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
   <!-- Fixes: # -->
   
   <!--- 
******************************************************************************* 
-->
   <!--- NOTE: AUTOMATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE 
DOCUMENTATION. -->
   <!--- PLEASE PUT AN 'X' in only **ONE** box -->
   <!--- 
******************************************************************************* 
-->
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] build/CI
   - [ ] test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   Before fix with a network in project
   ![Screenshot 2024-08-20 at 12 11 16 
PM](https://github.com/user-attachments/assets/235c0577-0e13-4724-bdbe-5fdb06943328)
   
   After fix with a network in project
   ![Screenshot 2024-08-20 at 12 11 50 
PM](https://github.com/user-attachments/assets/1491eb6c-721d-4771-b440-0f808ed7c1f4)
   
   
   ### How Has This Been Tested?
   1. Create an account of type user
   2. Login with that user
   3. Create a project and switch to that project
   4. Create a new network in that project
   5. Before fix user won't be able to do any actions on that network, after 
fix it is allowed.


-- 
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