@rh-support/user-permissions 0.2.41 → 0.2.44

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.
@@ -255,19 +255,19 @@ export const userPermissions = {
255
255
  return true;
256
256
  },
257
257
  [CaseListFields.ADDITIONAL_FILTER]: (user, userAccount) => {
258
- return !userAccount.secureSupport;
258
+ return true;
259
259
  },
260
260
  [CaseListFields.GROUPS_FILTER]: (user, userAccount) => {
261
261
  return true;
262
262
  },
263
263
  [CaseListFields.CREATOR_FILTER]: (user, userAccount) => {
264
- return !userAccount.secureSupport;
264
+ return true;
265
265
  },
266
266
  [CaseListFields.ADVANCED_SEARCH]: (user, userAccount) => {
267
267
  return user.isInternal() && !userAccount.secureSupport;
268
268
  },
269
269
  [CaseListFields.TYPE_FILTER]: (user, userAccount) => {
270
- return !userAccount.secureSupport;
270
+ return true;
271
271
  },
272
272
  },
273
273
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/user-permissions",
3
- "version": "0.2.41",
3
+ "version": "0.2.44",
4
4
  "description": "For managing user permissions ",
5
5
  "author": "Karan Garg <kgarg@redhat.com>",
6
6
  "license": "ISC",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@casl/react": "^2.3.0",
42
- "@cee-eng/hydrajs": "4.7.20",
42
+ "@cee-eng/hydrajs": "4.7.22",
43
43
  "@rh-support/api": "0.3.9",
44
44
  "@rh-support/types": "^0.1.3",
45
45
  "@rh-support/utils": "^0.1.3",
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@casl/ability": "^5.3.1",
51
- "@cee-eng/hydrajs": "4.7.20",
52
- "@rh-support/api": "0.3.10",
51
+ "@cee-eng/hydrajs": "4.7.22",
52
+ "@rh-support/api": "0.3.13",
53
53
  "@rh-support/types": "0.2.0",
54
- "@rh-support/utils": "0.2.31",
54
+ "@rh-support/utils": "0.2.33",
55
55
  "lodash": "^4.17.15"
56
56
  },
57
57
  "devDependencies": {
@@ -59,5 +59,5 @@
59
59
  "@types/lodash": "^4.14.136",
60
60
  "react": "17.0.2"
61
61
  },
62
- "gitHead": "274324da926ca7deeaeba9fe702cacd0129941a1"
62
+ "gitHead": "5797cf1fd9b2d2406fa93933f91fcc0b0729e7a8"
63
63
  }