diff --git a/ordr2/models/user.py b/ordr2/models/user.py index 8c25394..1f29d7b 100644 --- a/ordr2/models/user.py +++ b/ordr2/models/user.py @@ -47,7 +47,7 @@ class User(Base): @property def principal(self): ''' returns the principal identifier for the user ''' - return 'user:' + str(self.id) + return 'user:' + self.user_name @property def role_principals(self):