@rh-support/user-permissions 2.0.0 → 2.0.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"UserAuth.d.ts","sourceRoot":"","sources":["../../src/UserAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAGlE,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,qBAAa,QAAQ;IACjB,OAAO,CAAC,IAAI,CAAY;gBACZ,IAAI,EAAE,SAAS;IAG3B,cAAc;IAGd,gBAAgB;IAIhB,UAAU;IAIV,aAAa;IAIb,mBAAmB;IAInB,8BAA8B;IAC9B,cAAc;IAGd,+BAA+B,CAAC,cAAc,EAAE,MAAM;IAGtD,sCAAsC,CAAC,cAAc,EAAE,MAAM;IAG7D,0BAA0B;IAC1B,8BAA8B,CAAC,gBAAgB,EAAE,MAAM;IAGvD,qCAAqC,CAAC,gBAAgB,EAAE,MAAM;IAG9D,4BAA4B,CAAC,gBAAgB,EAAE,MAAM;IAIrD,2DAA2D;IAC3D,+BAA+B,IAAI,QAAQ;IAW3C,mBAAmB;IACnB,UAAU;IAGV,gCAAgC;IAGhC,kBAAkB;IAGlB,qBAAqB;IAIrB,4CAA4C;IAC5C,UAAU;IAGV,kBAAkB;IAGlB,qBAAqB;IAIrB,mEAAmE;IACnE,SAAS;IAGT,iBAAiB;IAGjB,oBAAoB;IAGpB,kBAAkB;IAIlB,qDAAqD;IACrD,UAAU;IAGV,kBAAkB;IAGlB,qBAAqB;IAIrB,qGAAqG;IACrG,iBAAiB;IAGjB,yBAAyB;IAGzB,4BAA4B;IAI5B,6GAA6G;IAC7G,mBAAmB;IAGnB,2BAA2B;IAG3B,8BAA8B;IAI9B,iBAAiB;IAIjB,mBAAmB;IAInB,4BAA4B;IAI5B,UAAU;IAKV,sBAAsB;IAStB,oBAAoB;IAOpB,mCAAmC;I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IAId,sBAAsB;IAItB,yBAAyB;IAIzB,eAAe;IAIf,mBAAmB;IAInB,iCAAiC;CAGpC"}
@@ -124,6 +124,7 @@ export class UserAuth {
124
124
  canViewInternalAppConfigsTab() {
125
125
  return this.user.canViewInternalAppConfigsTab;
126
126
  }
127
+ // For entitled users
127
128
  isEntitled() {
128
129
  return this.user.isEntitled;
129
130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/user-permissions",
3
- "version": "2.0.0",
3
+ "version": "2.0.3",
4
4
  "description": "For managing user permissions ",
5
5
  "author": "Karan Garg <kgarg@redhat.com>",
6
6
  "license": "ISC",
@@ -48,8 +48,8 @@
48
48
  "dependencies": {
49
49
  "@casl/ability": "^5.3.1",
50
50
  "@cee-eng/hydrajs": "4.15.71",
51
- "@rh-support/types": "2.0.0",
52
- "@rh-support/utils": "2.0.0",
51
+ "@rh-support/types": "2.0.1",
52
+ "@rh-support/utils": "2.0.3",
53
53
  "lodash": "^4.17.21"
54
54
  },
55
55
  "devDependencies": {
@@ -57,5 +57,5 @@
57
57
  "@types/lodash": "^4.14.136",
58
58
  "react": "17.0.2"
59
59
  },
60
- "gitHead": "a8012bb04d9b5073b5cc97507c93da6745be2102"
60
+ "gitHead": "f8fe7a663c31e0247c25916cdb54c7da7440abb2"
61
61
  }