OptimalBits / node_acl

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

Wildcard resources #215

Open porkchop opened 7 years ago

porkchop commented 7 years ago

It would be super useful to be able to do something like acl.allow('admin', ['/users/*'], ['GET', 'PUT']); That way the admin role can get and put on any /user/:userId, without having to give the admin role PUT + GET perms on every new user that gets generated.