ENG-7050: Use enumset without the spec changes.

I think all these `has*Permission()` methods can be replaced with a single `hasPermission(perm)` method.