Marcus Williams

Results 96 comments of Marcus Williams
trafficstars

Yes still definitely isn't right, the ID shouldn't ever be null or undefined.

@timneutkens I've sent you my trace on twitter

Yes same for me too.

That commit hasn't made any difference to the original issue reported. I've update to the lastest versions and still get the error ``` Error: Cannot find module 'sails-permissions/api/hooks/sails-auth' ``` If...

OK just found the reason. A previous version of sails-permissions must have installed files in api/hooks, and these need to be removed

I referring to when you blacklist an attribute on a model. For example if I was to blacklist the title attribute on ModelB and did `ModelB.findOne(1)` the title attribute is...

Any chance of some help with this. It's a pretty critical issue if you can't use the UserController without exposing all users to everyone. For reference I'm using v2.2.0

This is what I have at the moment ``` module.exports.policies = { '*': [ 'basicAuth', 'passport', 'sessionAuth', 'ModelPolicy', 'AuditPolicy', 'OwnerPolicy', 'PermissionPolicy', 'RolePolicy', 'CriteriaPolicy' ], UserController: { 'create': true, 'signup': true,...

This reason I have the find action on my controller is so I can customise the response. My original post just shows basic example as it doesn't make any difference...