Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sails-permissions

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sails-permissions - npm Package Compare versions

Comparing version 0.10.9 to 0.10.10

9

api/hooks/permissions-api/index.js

@@ -6,6 +6,13 @@ var _ = require('lodash');

configure: function () {
if (!_.isObject(sails.config.permissions)) sails.config.permissions = { };
// setup some necessary globals
global.Promise = require('bluebird');
global._ = require('lodash');
_.mixin(require('congruence'));
},
initialize: function (next) {
sails.after('hook:orm:loaded', function () {

@@ -12,0 +19,0 @@ var models = _.filter(sails.controllers, function (controller, name) {

1

config/fixtures/user.js

@@ -7,3 +7,2 @@ /**

sails.log('Installing admin User');
sails.log('model', model);

@@ -10,0 +9,0 @@ if (_.isEmpty(sails.config.permissions.adminPassword)) {

{
"name": "sails-permissions",
"version": "0.10.9",
"version": "0.10.10",
"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",

@@ -38,2 +38,3 @@ "main": "index.js",

"dependencies": {
"congruence": "^1.6.4",
"lodash": "^2.4.1",

@@ -40,0 +41,0 @@ "pluralize": "^1.0.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc