ENG-7072 changed user permissions to one-time computation

As Ning said. use EnumSet