- Add model functions for working with prototypes

- Add API calls for working with prototypes
- Get UI for prototypes working (minus add)
This commit is contained in:
Joseph Schorr 2014-01-21 14:18:20 -05:00
parent 330051f7d9
commit e17c3590a7
9 changed files with 329 additions and 1 deletions

View file

@ -135,6 +135,7 @@ class RepositoryPermission(BaseModel):
class PermissionPrototype(BaseModel):
org = ForeignKeyField(User, index=True, related_name='orgpermissionproto')
uuid = CharField()
activating_user = ForeignKeyField(User, index=True, null=True,
related_name='userpermissionproto')
delegate_user = ForeignKeyField(User, related_name='receivingpermission',