@churchillliving/se-ui-toolkit 6.53.95 → 6.53.96
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/bundles/churchillliving-se-ui-toolkit.umd.js +5 -1
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +5 -2
- package/esm2015/lib/models/user-info.model.js +2 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js +5 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/models/user-info.model.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3135,6 +3135,7 @@
|
|
|
3135
3135
|
EPermissionType["VIEW"] = "view";
|
|
3136
3136
|
EPermissionType["DELETE"] = "delete";
|
|
3137
3137
|
EPermissionType["ADDROW"] = "addRow";
|
|
3138
|
+
EPermissionType["CRUD"] = "crud";
|
|
3138
3139
|
})(exports.EPermissionType || (exports.EPermissionType = {}));
|
|
3139
3140
|
|
|
3140
3141
|
var AuthenticationService = /** @class */ (function () {
|
|
@@ -3647,7 +3648,10 @@
|
|
|
3647
3648
|
isValid = true;
|
|
3648
3649
|
}
|
|
3649
3650
|
});
|
|
3650
|
-
if (permission.type === exports.EPermissionType.
|
|
3651
|
+
if (permission.type === exports.EPermissionType.CRUD && !isValid) {
|
|
3652
|
+
_this.useInlineCRUD = false;
|
|
3653
|
+
}
|
|
3654
|
+
else if (permission.type === exports.EPermissionType.VIEW &&
|
|
3651
3655
|
!hasValidEditPermission_1) {
|
|
3652
3656
|
_this.useInlineCRUD = true;
|
|
3653
3657
|
if (!isValid && !hasColumnPermissions_1) {
|