Adjustments to admin.py for view, fix Role using charfield as primary key, adjusted openstack/managers.py to fill the charfield instead of the pk
diff --git a/planetstack/core/models/role.py b/planetstack/core/models/role.py
index e7d31b9..d3c577d 100644
--- a/planetstack/core/models/role.py
+++ b/planetstack/core/models/role.py
@@ -7,7 +7,7 @@
 class Role(PlCoreBase):
 
     #ROLE_CHOICES = (('admin', 'Admin'), ('pi', 'Principle Investigator'), ('user','User'))
-    role_id = models.CharField(max_length=256, unique=True)
+    role = models.CharField(null=True, blank=True,max_length=256, unique=True)
     role_type = models.CharField(max_length=80, unique=True)
 
     def __unicode__(self):  return u'%s' % (self.role_type)