A permissions system for NodeJS