ENG-7072 changed user permissions to one-time computation

You can use the Permission EnumSet, it'll be more efficient.