Stick more caching of permissions (which will probably cause bugs)