sails-permissions
Advanced tools
Comparing version 0.10.14 to 0.10.15
@@ -12,5 +12,5 @@ /** | ||
} | ||
User.find({ username: 'admin' }) | ||
User.findOne({ username: 'admin' }) | ||
.then(function (user) { | ||
if (user) return next(); | ||
if (user) return next(null, user); | ||
@@ -17,0 +17,0 @@ sails.log('admin user does not exist; creating...'); |
{ | ||
"name": "sails-permissions", | ||
"version": "0.10.14", | ||
"version": "0.10.15", | ||
"description": "Comprehensive sails.js user permission/privilege framework that allows granting and restricting access to models and attributes based on object ownership and relationships with other users and roles", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36133