Avoid unnecessary permissions lookups (thanks rchady!)