@abtnode/rbac 1.5.5 → 1.5.9

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.
package/lib/store/nedb.js CHANGED
@@ -296,7 +296,7 @@ class Nedb extends Storage {
296
296
  }
297
297
  );
298
298
 
299
- return true;
299
+ return this.get(roleName);
300
300
  }
301
301
 
302
302
  // private
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.5",
6
+ "version": "1.5.9",
7
7
  "description": "Simple lib to manage access controls in ABT Node",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "jest": "^26.4.2"
29
29
  },
30
- "gitHead": "1cdd5b1770ec9f9b8df59d4c43680d21b874eb1e"
30
+ "gitHead": "cd66ac83b32aaaee85bcd8a0a7cfe3501d1446c1"
31
31
  }