Implement Workspace.displayname
This commit is contained in:
parent
b2c59f39ef
commit
5e479feadc
@ -41,5 +41,9 @@ class Workspace(Base, mixins.TimestampsMixin, mixins.AuditableMixin):
|
|||||||
def members(self):
|
def members(self):
|
||||||
return [WorkspaceUser(role.user, role) for role in self.roles]
|
return [WorkspaceUser(role.user, role) for role in self.roles]
|
||||||
|
|
||||||
|
@property
|
||||||
|
def displayname(self):
|
||||||
|
return self.name
|
||||||
|
|
||||||
def auditable_workspace_id(self):
|
def auditable_workspace_id(self):
|
||||||
return self.id
|
return self.id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user