Skip to content

Commit

Permalink
SMC-5125: Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JancoHY committed Feb 3, 2022
1 parent f68248f commit 84fc4bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
5 changes: 1 addition & 4 deletions lib/services/security/checkpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,7 @@ CheckPoint.prototype.__loadPermissionSet = function(identity, callback) {
permissionSetStore.setSync(
identity.permissionSetKey,
identity.user.username,
permissionSet,
{
clone: false
}
permissionSet
);
callback(null, permissionSet);
}
Expand Down
7 changes: 0 additions & 7 deletions test/integration/security/caches.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ describe(testHelper.testName(__filename, 3), function() {
expect(
serviceInstance.services.security.checkpoint.__cache_checkpoint_authorization.__cache.max
).to.be(5);
// expect(
// serviceInstance.services.security.checkpoint.__cache_checkpoint_permissionset.__cache.max
// ).to.be(6);

serviceInstance.services.session
.localClient({
Expand Down Expand Up @@ -297,10 +294,6 @@ describe(testHelper.testName(__filename, 3), function() {
serviceInstance.services.security.checkpoint.__cache_checkpoint_authorization.__cache.values()
.length
).to.be(5);
// expect(
// serviceInstance.services.security.checkpoint.__cache_checkpoint_permissionset.__cache.values()
// .length
// ).to.be(6);
expect(
serviceInstance.services.security.groups.permissionManager.cache.__cache.values().length
).to.be(5);
Expand Down

0 comments on commit 84fc4bb

Please sign in to comment.