sliceplus: return role string instead of role object
diff --git a/planetstack/core/xoslib/objects/sliceplus.py b/planetstack/core/xoslib/objects/sliceplus.py
index 6e586d2..465cbda 100644
--- a/planetstack/core/xoslib/objects/sliceplus.py
+++ b/planetstack/core/xoslib/objects/sliceplus.py
@@ -18,7 +18,7 @@
roles = []
if (user!=None):
- roles = [x.role for x in self.sliceprivileges.filter(user=user)]
+ roles = [x.role.role for x in self.sliceprivileges.filter(user=user)]
return {"sitesUsed": used_sites,
"deploymentsUsed": used_deployments,