nyambati/express-acl

Check permissions

Closed this issue · 0 comments

I need to implement a method to validate ACL through ajax, it would be great if something like this is implemented, for example:

const checkACL = {resource: 'post', methods: ['GET']};
acl.check(req, checkACL);