diff options
author | Dusty Phillips <buchuki@gmail.com> | 2009-07-24 15:33:09 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2009-07-24 15:33:17 -0400 |
commit | e1cc43a8cebe38847f5e81ff44cba81366e7be74 (patch) | |
tree | ee48d29bef49f8aa42f8f485a202001874675385 /main/models.py | |
parent | 6ba0e5a6351a29f99e726fb637c753e15926fb7a (diff) |
Repo-based permissions when adopting packages.
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py index 9bdfbd06..89ffb916 100644 --- a/main/models.py +++ b/main/models.py @@ -30,6 +30,7 @@ class UserProfile(models.Model): picture = models.FileField(upload_to='devs', default='devs/silhouette.png') user = models.ForeignKey( User, related_name='userprofile_user', unique=True) + allowed_repos = models.ManyToManyField('Repo') class Meta: db_table = 'user_profiles' verbose_name = 'Additional Profile Data' |