So I'm not sure if I'm just a little confused but it looks like the readme says you put the actor in the same object as the query options. I had to put the options in the next parameter.
Does not work:
User.findAll({
where: ...
actor: new ssacl.Omnipotent()
}).
Works:
User.findAll({
where: ...
}, {
actor: new ssacl.Omnipotent()
}).
So I'm not sure if I'm just a little confused but it looks like the readme says you put the actor in the same object as the query options. I had to put the options in the next parameter.
Does not work:
Works: