OptimalBits / node_acl

Access control lists for node applications
2.62k stars 369 forks source link

Problem when any of ACL Middleware argument is null or undefined #212

Open akashdeepsinghal opened 7 years ago

akashdeepsinghal commented 7 years ago

I want to send a custom userId and it breaks down and the middleware throws Broke parameter contract. I guess, problem is there when any of ACL Middleware argument is null or undefined.

screen shot 2016-10-01 at 7 51 33 pm
akashdeepsinghal commented 7 years ago

I worked on the issue and have tried to solve it: #213 Please have a look

alaboudi commented 7 years ago

I would like to see this pulled in if the code is correct. I have this issue too