Sietse, does this look right? I don’t think the old version of line 63 could have ever worked; `getPermissions` is always empty, and `getRoles` contains `UserRole` case class instances, not enumeration values.