def get_roles(self):
    roles = []
    roles += ([self.StaticRoles.DATA_MANAGER.shorthand] if self.is_data_manager else [])
    roles += ([self.StaticRoles.USER_MANAGER.shorthand] if self.is_user_manager else [])
    roles += ([self.StaticRoles.INTERNAL.shorthand] if self.is_internal else [])
    roles += ([self.StaticRoles.ADMIN.shorthand] if self.is_admin else [])
    roles += ([self.StaticRoles.STAFF.shorthand] if self.is_staff else [])
    roles += ([self.StaticRoles.CONTRIBUTOR.shorthand] if self.is_contributor else [])
    roles += ([self.StaticRoles.RESEARCHER.shorthand] if self.is_researcher else [])
    roles += ([self.StaticRoles.EXPORTER.shorthand] if self.is_exporter else [])
    return roles
def get_roles(self):
    roles = []
    roles += ([self.StaticRoles.DATA_MANAGER.shorthand] if self.is_data_manager else [])
    roles += ([self.StaticRoles.USER_MANAGER.shorthand] if self.is_user_manager else [])
    roles += ([self.StaticRoles.INTERNAL.shorthand] if self.is_internal else [])
    roles += ([self.StaticRoles.ADMIN.shorthand] if self.is_admin else [])
    roles += ([self.StaticRoles.STAFF.shorthand] if self.is_staff else [])
    roles += ([self.StaticRoles.CONTRIBUTOR.shorthand] if self.is_contributor else [])
    roles += ([self.StaticRoles.RESEARCHER.shorthand] if self.is_researcher else [])
    roles += ([self.StaticRoles.EXPORTER.shorthand] if self.is_exporter else [])
    return roles