@c8y/ng1-modules 1021.22.99 → 1021.22.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/administration-retentionRules/views/list.html +4 -0
- package/core/locales/ja_JP.po +1 -1
- package/core/locales/ko.po +1 -1
- package/core/locales/pl.po +1 -1
- package/core/locales/pt_BR.po +1 -1
- package/core/locales/zh_CN.po +1 -1
- package/core/locales/zh_TW.po +1 -1
- package/package.json +1 -1
- package/smartRules/views/list.html +2 -1
- package/users/applicationAccess/applicationAccess.directive.js +1 -1
|
@@ -208,6 +208,8 @@
|
|
|
208
208
|
<div
|
|
209
209
|
class="p-r-8 text-right showOnHover col-1"
|
|
210
210
|
ng-if="isEditable(rule)"
|
|
211
|
+
c8y-if-allowed
|
|
212
|
+
any-role="['ROLE_RETENTION_RULE_ADMIN']"
|
|
211
213
|
>
|
|
212
214
|
<button
|
|
213
215
|
class="btn btn-dot btn-dot--danger hidden-xs"
|
|
@@ -228,6 +230,8 @@
|
|
|
228
230
|
title="{{ 'Delete' | translate }}"
|
|
229
231
|
type="button"
|
|
230
232
|
data-ng-click="removeWithConfirmation(rule);$event.stopPropagation()"
|
|
233
|
+
c8y-if-allowed
|
|
234
|
+
any-role="['ROLE_RETENTION_RULE_ADMIN']"
|
|
231
235
|
>
|
|
232
236
|
<i c8y-icon="delete"></i>
|
|
233
237
|
{{ 'Delete' | translate }}
|
package/core/locales/ja_JP.po
CHANGED
|
@@ -10830,7 +10830,7 @@ msgid "OBJECT ARRAY"
|
|
|
10830
10830
|
msgstr "オブジェクトアレイ"
|
|
10831
10831
|
|
|
10832
10832
|
msgid "OFFICIAL`Package maintained by Software AG.`"
|
|
10833
|
-
msgstr "
|
|
10833
|
+
msgstr "オフィシャル"
|
|
10834
10834
|
|
|
10835
10835
|
msgid "OFF`status of an option, e.g. realtime`"
|
|
10836
10836
|
msgstr "オフ"
|
package/core/locales/ko.po
CHANGED
|
@@ -10834,7 +10834,7 @@ msgid "OBJECT ARRAY"
|
|
|
10834
10834
|
msgstr "개체 배열"
|
|
10835
10835
|
|
|
10836
10836
|
msgid "OFFICIAL`Package maintained by Software AG.`"
|
|
10837
|
-
msgstr "
|
|
10837
|
+
msgstr "정규"
|
|
10838
10838
|
|
|
10839
10839
|
msgid "OFF`status of an option, e.g. realtime`"
|
|
10840
10840
|
msgstr "끄기"
|
package/core/locales/pl.po
CHANGED
|
@@ -10899,7 +10899,7 @@ msgid "OBJECT ARRAY"
|
|
|
10899
10899
|
msgstr "TABLICA OBIEKTÓW"
|
|
10900
10900
|
|
|
10901
10901
|
msgid "OFFICIAL`Package maintained by Software AG.`"
|
|
10902
|
-
msgstr "
|
|
10902
|
+
msgstr "OFICJALNY"
|
|
10903
10903
|
|
|
10904
10904
|
msgid "OFF`status of an option, e.g. realtime`"
|
|
10905
10905
|
msgstr "WYŁĄCZONE"
|
package/core/locales/pt_BR.po
CHANGED
|
@@ -18121,7 +18121,7 @@ msgid "bottom`vertical alignment`"
|
|
|
18121
18121
|
msgstr "embaixo"
|
|
18122
18122
|
|
|
18123
18123
|
msgid "building`e.g. house`"
|
|
18124
|
-
msgstr "
|
|
18124
|
+
msgstr "edificação"
|
|
18125
18125
|
|
|
18126
18126
|
msgid "by`user`"
|
|
18127
18127
|
msgstr "por"
|
package/core/locales/zh_CN.po
CHANGED
|
@@ -10835,7 +10835,7 @@ msgid "OBJECT ARRAY"
|
|
|
10835
10835
|
msgstr "对象数组"
|
|
10836
10836
|
|
|
10837
10837
|
msgid "OFFICIAL`Package maintained by Software AG.`"
|
|
10838
|
-
msgstr "
|
|
10838
|
+
msgstr "正式"
|
|
10839
10839
|
|
|
10840
10840
|
msgid "OFF`status of an option, e.g. realtime`"
|
|
10841
10841
|
msgstr "关"
|
package/core/locales/zh_TW.po
CHANGED
|
@@ -10835,7 +10835,7 @@ msgid "OBJECT ARRAY"
|
|
|
10835
10835
|
msgstr "对象数组"
|
|
10836
10836
|
|
|
10837
10837
|
msgid "OFFICIAL`Package maintained by Software AG.`"
|
|
10838
|
-
msgstr "
|
|
10838
|
+
msgstr "正式"
|
|
10839
10839
|
|
|
10840
10840
|
msgid "OFF`status of an option, e.g. realtime`"
|
|
10841
10841
|
msgstr "关"
|
package/package.json
CHANGED
|
@@ -33,13 +33,14 @@
|
|
|
33
33
|
</button>
|
|
34
34
|
</c8y-if-allowed>
|
|
35
35
|
</li>
|
|
36
|
-
<li ng-
|
|
36
|
+
<li ng-show="getLinkToDM()">
|
|
37
37
|
<c8y-if-allowed any-app="['devicemanagement']">
|
|
38
38
|
<a
|
|
39
39
|
class="btn btn-link"
|
|
40
40
|
title="{{ 'Open in Device Management' | translate }}"
|
|
41
41
|
type="button"
|
|
42
42
|
target="_blank"
|
|
43
|
+
data-cy="smart-rules-list--open-in-device-management-link"
|
|
43
44
|
rel="noopener noreferrer"
|
|
44
45
|
ng-href="{{ getLinkToDM() }}"
|
|
45
46
|
>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{function e(){return{restrict:"EA",scope:{user:"=",allSelected:"=?",allowedApplications:"=",disabledEdit:"=?"},templateUrl:":::PLUGIN_PATH:::/applicationAccess/applicationAccess.html",controller:i}}function i(l,e,i){function t(e){return _.uniqBy(e,"id")}function n(e){l.applications=_.filter(e,{
|
|
1
|
+
(()=>{function e(){return{restrict:"EA",scope:{user:"=",allSelected:"=?",allowedApplications:"=",disabledEdit:"=?"},templateUrl:":::PLUGIN_PATH:::/applicationAccess/applicationAccess.html",controller:i}}function i(l,e,i){function t(e){return _.uniqBy(e,"id")}function n(e){l.applications=_.filter(e,function(e){return"MICROSERVICE"!==e.type}),l.marketApps=_.filter(l.applications,{availability:"MARKET"}),l.privateApps=_.filter(l.applications,{availability:"PRIVATE"})}function a(e){return l.allSelected||_.some(l.allowedApplications,c(e))||r(e)}function c(i){return function(e){return _.toNumber(i.id)===_.toNumber(e.id)}}function r(e){var i,e=e.id,t=l.user;return t&&!l.allSelected&&(t=_(_.get(t,"groups.references")).map("group").map("applications").flatten().uniqBy("id").map("id").value(),i=_.includes(t,e)),i}function o(e){var i=_.get(l,"user._owner.applications");return i&&!r(e)&&!_.some(i,{id:e.id})}l.isAccessAllowed=a,l.toggleAccess=function(e){(a(e)?e=>{l.allowedApplications=_.reject(l.allowedApplications,c(e))}:e=>{l.allowedApplications=l.allowedApplications||[],l.allowedApplications.push({id:e.id,type:e.type})})(e)},l.alreadyInGlobalRole=r,l.isDisabled=function(e){return l.allSelected||l.disabledEdit||r(e)||o(e)},l.notAvailableInOwner=o,l.noOwnerAvailable=function(){return _.get(l,"user")&&!_.get(l,"user._owner")},e.current().then(i.listByUser).then(t).then(n)}i.$inject=["$scope","c8yUser","c8yApplication"],angular.module("c8y.users").directive("c8yApplicationAccess",e).directive("applicationAccessEditor",e)})();
|