BryanMLima opened a new pull request, #6690:
URL: https://github.com/apache/cloudstack/pull/6690

   ### Description
   
   Currently, ACS only has the option to enable the Quota plugin globally. 
However, for some use cases having the plugin active to specific accounts and 
domains may be more interesting. Therefore, this PR aims to add this 
functionality through the quota config `quota.account.enabled`. Moreover, a 
string was added to quota accounts with the plugin disabled in the quota 
summary section in the UI. In the future, a filter will be added for accounts 
with the plugin enabled, disabled and for removed accounts.
   
   Finally, for the config to be used in a domain scope, when it cannot be 
found at user level, it is required that the following global configurations 
are enabled: `enable.account.settings.for.domain` and 
`enable.domain.settings.for.child.domain`.
   
   ### 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)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [x] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   List of accounts with the plugin enabled and disabled:
   
![image](https://user-images.githubusercontent.com/42067040/187445137-40dea961-1867-4fbb-b85c-ffaebd750bd7.png)
   
   
   ### How Has This Been Tested?
   This was tested in a local lab setting the `quota.account.enabled` to true 
and false to random accounts. In the quota summary section the accounts where 
correctly displayed: accounts with the plugin disabled had the 
`(quota-disabled)` string attached and accounts with the plugin enabled were 
normally displayed.
   


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