diff --git a/.gitignore b/.gitignore index b385911f898..46143bdbc30 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ target hs_err_pid* components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/node_modules/ components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/build/ +components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/package-lock.json diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.authhandler/src/main/java/org/wso2/carbon/device/application/mgt/auth/handler/util/Constants.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.authhandler/src/main/java/org/wso2/carbon/device/application/mgt/auth/handler/util/Constants.java index f413a5aaac0..97cd81d9564 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.authhandler/src/main/java/org/wso2/carbon/device/application/mgt/auth/handler/util/Constants.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.authhandler/src/main/java/org/wso2/carbon/device/application/mgt/auth/handler/util/Constants.java @@ -22,7 +22,29 @@ package org.wso2.carbon.device.application.mgt.auth.handler.util; public class Constants { public static final String SCOPES = "perm:application:get perm:application:create perm:application:update " + "perm:application-mgt:login perm:application:delete perm:platform:add perm:platform:remove " + - "perm:roles:view perm:devices:view perm:platform:get"; + "perm:roles:view perm:devices:view perm:platform:get perm:admin:devices:view perm:roles:add " + + "perm:roles:add-users perm:roles:update perm:roles:permissions perm:roles:details perm:roles:view" + + " perm:roles:create-combined-role perm:roles:delete perm:dashboard:vulnerabilities " + + "perm:dashboard:non-compliant-count perm:dashboard:non-compliant perm:dashboard:by-groups " + + "perm:dashboard:device-counts perm:dashboard:feature-non-compliant perm:dashboard:count-overview " + + "perm:dashboard:filtered-count perm:dashboard:details perm:get-activity perm:devices:delete " + + "perm:devices:applications perm:devices:effective-policy perm:devices:compliance-data " + + "perm:devices:features perm:devices:operations perm:devices:search perm:devices:details " + + "perm:devices:update perm:devices:view perm:view-configuration perm:manage-configuration " + + "perm:policies:remove perm:policies:priorities perm:policies:deactivate perm:policies:get-policy-details" + + " perm:policies:manage perm:policies:activate perm:policies:update perm:policies:changes " + + "perm:policies:get-details perm:users:add perm:users:details perm:users:count perm:users:delete " + + "perm:users:roles perm:users:user-details perm:users:credentials perm:users:search perm:users:is-exist " + + "perm:users:update perm:users:send-invitation perm:admin-users:view perm:groups:devices perm:groups:update " + + "perm:groups:add perm:groups:device perm:groups:devices-count perm:groups:remove perm:groups:groups " + + "perm:groups:groups-view perm:groups:share perm:groups:count perm:groups:roles perm:groups:devices-remove " + + "perm:groups:devices-add perm:groups:assign perm:device-types:features perm:device-types:types " + + "perm:applications:install perm:applications:uninstall perm:admin-groups:count perm:admin-groups:view" + + " perm:notifications:mark-checked perm:notifications:view perm:admin:certificates:delete " + + "perm:admin:certificates:details perm:admin:certificates:view perm:admin:certificates:add " + + "perm:admin:certificates:verify perm:admin perm:devicetype:deployment perm:device-types:events " + + "perm:device-types:events:view perm:admin:device-type perm:device:enroll perm:geo-service:analytics-view " + + "perm:geo-service:alerts-manage"; public static final String[] TAGS = {"device_management"}; public static final String USER_NAME = "userName"; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.ttf b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.ttf new file mode 100644 index 00000000000..aa00de0ef92 Binary files /dev/null and b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.ttf differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.woff b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.woff new file mode 100644 index 00000000000..ced7907e943 Binary files /dev/null and b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.woff differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.woff2 b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.woff2 new file mode 100644 index 00000000000..723a32343bd Binary files /dev/null and b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Medium.woff2 differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.ttf b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.ttf new file mode 100644 index 00000000000..3e6e2e76134 Binary files /dev/null and b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.ttf differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.woff b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.woff new file mode 100644 index 00000000000..e401bcf5289 Binary files /dev/null and b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.woff differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.woff2 b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.woff2 new file mode 100644 index 00000000000..5bd7bd65008 Binary files /dev/null and b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/fonts/Roboto-Regular.woff2 differ diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html index 3d41cf4be5a..830f6ae31f5 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/index.html @@ -23,6 +23,7 @@ +