WIP: creating a workspace creates a workspace_role

This commit is contained in:
dandds
2018-08-16 17:03:10 -04:00
committed by richard-dds
parent 75f41d4d2b
commit c723c9b326
4 changed files with 23 additions and 3 deletions

View File

@@ -14,3 +14,7 @@ class Workspace(Base):
request = relationship("Request")
name = Column(String, unique=True)
@property
def owner(self):
return self.request.creator