Bug 1502761

Summary: [RFE] Quota enforcement for Number of templates does not work
Product: Red Hat CloudForms Management Engine Reporter: Vatsal Parekh <vparekh>
Component: ProvisioningAssignee: William Fitzgerald <wfitzger>
Status: CLOSED WONTFIX QA Contact: Vatsal Parekh <vparekh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: jhardy, lavenel, obarenbo, tfitzger
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-18 14:34:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vatsal Parekh 2017-10-16 15:44:45 UTC
Description of problem:
Quota for number of Template doesn't honor the quota set in configuration.

Version-Release number of selected component (if applicable):
Version 5.9.0.2.20171010190026_0413a06

How reproducible:


Steps to Reproduce:
1.Navigate to configure->Access control->tenants
2.For Tenant " My Company " enforce template quota and set it to some value.
3.Navigate to Infrastructure -> Virtual machines -> Templates -> select VM template from list -> Lifecycle -> Clone selected template.
 or 
you can also select a VM and publish a VM to a template.

Actual results:
template gets created.

Expected results:
Quota exceeded message should be displayed

Additional info: