Refactor permissions to be lock free, and clean up duplicate references