@rh-support/user-permissions 2.5.178 → 2.6.10
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.
|
@@ -287,7 +287,7 @@ export const userPermissions = {
|
|
|
287
287
|
return true;
|
|
288
288
|
},
|
|
289
289
|
[CaseListFields.ADVANCED_SEARCH]: (user, userAccount) => {
|
|
290
|
-
return
|
|
290
|
+
return !userAccount.secureSupport && !userAccount.hasConfirmedStatesideSupport;
|
|
291
291
|
},
|
|
292
292
|
[CaseListFields.TYPE_FILTER]: (user, userAccount) => {
|
|
293
293
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/user-permissions",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.10",
|
|
4
4
|
"description": "For managing user permissions ",
|
|
5
5
|
"author": "Karan Garg <kgarg@redhat.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@casl/react": "^3.1.0",
|
|
43
43
|
"@cee-eng/hydrajs": "^4.18.114",
|
|
44
44
|
"@rh-support/types": "2.0.26",
|
|
45
|
-
"@rh-support/utils": "2.
|
|
45
|
+
"@rh-support/utils": "2.6.10",
|
|
46
46
|
"lodash": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"defaults and supports es6-module",
|
|
64
64
|
"maintained node versions"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "3f16770cee04217483b234f6d8dceaced57a0695"
|
|
67
67
|
}
|