Change in ovirt-engine[master]: core: requiring permissions to manage tags, bookmarks and no...

oourfali at redhat.com oourfali at redhat.com
Sun Dec 29 11:48:04 UTC 2013


Oved Ourfali has submitted this change and it was merged.

Change subject: core: requiring permissions to manage tags, bookmarks and notifications
......................................................................


core: requiring permissions to manage tags, bookmarks and notifications

This patch adds three new action groups, and three new roles, used to
manage tags, bookmarks and notifications.
Relevant commands were once allowed for every administrator, so the
upgrade process adds these action groups to every admin role that
includes more than the login permissions action group (to solve the
ReadOnlyAdmin use-case).

So, after upgrade all the user roles will be left unchanged.
All the admin roles will now contain the new action groups, except for
admin roles that only contain the login action group.

Change-Id: I477bca5703f59c67914e6395118e29d53fa7d007
Signed-off-by: Oved Ourfali <oourfali at redhat.com>
---
D backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AdminOperationCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/BookmarkCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/EventSubscriptionCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/PredefinedRoles.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TagsCommandBase.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/ActionGroup.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/model/PermitType.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/PermitMapper.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/roles_ui/RoleTreeView.java
M frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
M frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java
M frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
A packaging/dbscripts/upgrade/03_04_0330_add_admin_operations_action_groups_and_roles.sql
13 files changed, 159 insertions(+), 76 deletions(-)

Approvals:
  Oved Ourfali: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I477bca5703f59c67914e6395118e29d53fa7d007
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list