@rh-support/user-permissions 2.5.32 → 2.5.46

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.
@@ -8,7 +8,7 @@ import { userPermissions } from './userPermissions';
8
8
  export const ability = defineAbility((can) => {
9
9
  // Initialize abilities here.
10
10
  can(['manage', 'patch'], 'all');
11
- // Abilites will be updated in initUserRoles
11
+ // Abilites will be updated in initUserRole
12
12
  });
13
13
  export function mapUserToUserAuth(loggedInUser, loggedInUserAccount, managedAccounts = [], accountManagers = [], bookmarkedAccounts = [], pcmConfig = [], viewAsCustomer, loggedInUserToken) {
14
14
  const canManageTopContent = loggedInUser.isInternal &&
package/lib/esm/index.js CHANGED
@@ -3,3 +3,4 @@ export * from './models';
3
3
  export { ability, initUserRoles } from './AuthFramework';
4
4
  export * from './UserAuth';
5
5
  export * from './components/Can';
6
+ //test
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/user-permissions",
3
- "version": "2.5.32",
3
+ "version": "2.5.46",
4
4
  "description": "For managing user permissions ",
5
5
  "author": "Karan Garg <kgarg@redhat.com>",
6
6
  "license": "ISC",
@@ -47,7 +47,7 @@
47
47
  "@casl/react": "^3.1.0",
48
48
  "@cee-eng/hydrajs": "4.18.95",
49
49
  "@rh-support/types": "2.0.5",
50
- "@rh-support/utils": "2.5.28",
50
+ "@rh-support/utils": "2.5.42",
51
51
  "lodash": "^4.17.21"
52
52
  },
53
53
  "devDependencies": {
@@ -66,5 +66,5 @@
66
66
  "defaults and supports es6-module",
67
67
  "maintained node versions"
68
68
  ],
69
- "gitHead": "5bd0b48bd344b4362efb801ad01b96f0bba0df1a"
69
+ "gitHead": "08156d909dacebb039e331be207937c5879306a8"
70
70
  }