From 345fdc0ceda79f5028ac80473940e044d34fa188 Mon Sep 17 00:00:00 2001 From: Madawa Soysa Date: Thu, 1 Dec 2016 12:34:15 +0530 Subject: [PATCH 1/2] IOTS-296: Removing ownership selection when policy creation Removes ownership selection when creating and editing policies. Ownership management is done by the groups. --- .../app/units/cdmf.unit.policy.create/create.hbs | 14 -------------- .../public/js/policy-create.js | 5 ++--- .../app/units/cdmf.unit.policy.edit/edit.hbs | 13 ------------- .../cdmf.unit.policy.edit/public/js/policy-edit.js | 2 +- 4 files changed, 3 insertions(+), 31 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs index 32e124a9a4..a39f651378 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs @@ -129,20 +129,6 @@
- -
-
- - -
-
-
{{#if isAuthorizedViewRoles}}
- -
-
- -
-
-
{{#if isAuthorizedViewRoles}}