Change in ovirt-engine[master]: core: Enable remove quota when quota is not enforced

derez at redhat.com derez at redhat.com
Sun Feb 3 13:23:36 UTC 2013


Daniel Erez has submitted this change and it was merged.

Change subject: core: Enable remove quota when quota is not enforced
......................................................................


core: Enable remove quota when quota is not enforced

In current implementation there is no way to remove all quota from the
DC once a quota was assigned to some entities.

The CanDoAction logic of removing quota was changed so that when a DC is
in 'Disabled' Quota enforcement mode a quota could be removed
(regardless of it been assigned to some entities).

Change-Id: I95ff993b0db21a17e62e3258338bd524c5c8b957
Bug-Url: https://bugzilla.redhat.com/895237
Signed-off-by: Ofri Masad <omasad at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveQuotaCommand.java
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
M frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
M frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
5 files changed, 6 insertions(+), 5 deletions(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11505
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I95ff993b0db21a17e62e3258338bd524c5c8b957
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <omasad at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: ofri masad <omasad at redhat.com>



More information about the Engine-commits mailing list