userRoles = []
for role in self.session.props.auth.user.roles:
userRoles.append(str(role))
message = str(value) + ' -> ' + str(userRoles)
return message #<-- yields: Ian -> ['Read/Write', 'canEdit']
# i want JUST: Ian -> Read/Write, canEdit
i seem to recall there is a simpler way to do this with some Java call, but i'm not a Java dude (yet). tired of having to do these dopey convolutions just to get a clean result. halp!
i thought there was a simpler way using some system.user.doSomeThing(). i already have used join() to clean it up. i must have just misremembered. thx guys. i'll delete this. no real use.