@truedat/auth 4.38.7 → 4.40.0

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/CHANGELOG.md CHANGED
@@ -1,10 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.40.0] 2022-03-27
4
+
5
+ ### Removed
6
+
7
+ - Removed unused selector `getUserDomains`
8
+
3
9
  ## [4.38.7] 2022-02-22
4
10
 
5
11
  ### Added
6
12
 
7
- - [TD-4437] Add manage_rule_results permission messages
13
+ - [TD-4437] Add `manage_rule_results` permission messages
8
14
 
9
15
  ## [4.32.1] 2021-11-15
10
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/auth",
3
- "version": "4.38.7",
3
+ "version": "4.40.0",
4
4
  "description": "Truedat Web Auth",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.14.1",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "4.38.7",
37
+ "@truedat/test": "4.39.0",
38
38
  "babel-jest": "^27.0.6",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
@@ -84,7 +84,7 @@
84
84
  ]
85
85
  },
86
86
  "dependencies": {
87
- "@truedat/core": "4.38.7",
87
+ "@truedat/core": "4.40.0",
88
88
  "auth0-js": "^9.12.2",
89
89
  "immutable": "^4.0.0-rc.12",
90
90
  "jwt-decode": "^2.2.0",
@@ -106,5 +106,5 @@
106
106
  "react-dom": ">= 16.8.6 < 17",
107
107
  "semantic-ui-react": ">= 0.88.2 < 2.1"
108
108
  },
109
- "gitHead": "840c799ecdd6b8440112ac803119482e688142ed"
109
+ "gitHead": "0bd677584da73a5021a5c96f2e5525fde9a1958a"
110
110
  }
@@ -55,7 +55,7 @@ export default {
55
55
  "permission.create_business_concept_link": "Create Business Concept Links",
56
56
  "permission.create_data_structure": "Create Structures",
57
57
  "permission.create_domain": "Create Domains",
58
- "permission.create_ingest": "Creare Ingests",
58
+ "permission.create_ingest": "Create Ingests",
59
59
  "permission.create_structure_note": "Create note",
60
60
  "permission.delete_acl_entry": "Delete Domain Roles",
61
61
  "permission.delete_business_concept": "Delete Business Concepts",
@@ -85,6 +85,7 @@ export default {
85
85
  "permission.group.undefined": "Application",
86
86
  "permission.link_data_structure": "Link Structures",
87
87
  "permission.link_data_structure_tag": "Link Tags to Structures",
88
+ "permission.manage_business_concepts_domain": "Manage Business Concept Domain",
88
89
  "permission.manage_business_concept_links": "Manage Business Concept Links",
89
90
  "permission.manage_confidential_business_concepts": "Manage Confidential Business Concepts",
90
91
  "permission.manage_confidential_structures": "Manage Confidential Structures",
@@ -85,6 +85,7 @@ export default {
85
85
  "permission.group.undefined": "Permisos de la Aplicación",
86
86
  "permission.link_data_structure": "Vincular estructuras a reglas, conceptos, etc.",
87
87
  "permission.link_data_structure_tag": "Vincular etiquetas a estructuras",
88
+ "permission.manage_business_concepts_domain": "Gestionar dominios de Conceptos",
88
89
  "permission.manage_business_concept_links": "Gestionar enlaces de un concepto",
89
90
  "permission.manage_business_concept_links": "Vincular datos a conceptos",
90
91
  "permission.manage_confidential_business_concepts": "Gestionar conceptos confidenciales",
@@ -1,4 +1,3 @@
1
1
  export { filterUsers } from "./filterUsers";
2
2
  export { getUserAcls } from "./getUserAcls";
3
3
  export { getUserGroupAcls } from "./getUserGroupAcls";
4
- export { getUserDomains } from "./getUserDomains";
@@ -1,9 +0,0 @@
1
- import _ from "lodash/fp";
2
- import { createSelector } from "reselect";
3
-
4
- const getUserPermissionsDomains = ({ userDomains }) => userDomains;
5
-
6
- export const getUserDomains = createSelector(
7
- getUserPermissionsDomains,
8
- _.flow(_.map("domains"), _.flatten, _.uniqBy("id"))
9
- );