Sails.js (0.9v) controllers have policies defined as:
RabbitController: {
'*': false, nurture : 'isRabbitMother', feed : ['isNiceToAnimals', 'hasRabbitFood'] }
is there a way to pass params to these acls eg:
RabbitController: {
'*': false, nurture : 'isRabbitMother(myparam)', feed : ['isNiceToAnimals(myparam1, myparam2)', 'hasRabbitFood(anotherParam)'] }
This may lead to multiple use of these functions for different params. Thanks Arif