Moved this to permissions/effective.js.