~salgado/offspring/privacy-indication-on-lists

« back to all changes in this revision

Viewing changes to lib/offspring/web/queuemanager/models.py

  • Committer: James Tunnicliffe
  • Date: 2011-10-19 14:53:46 UTC
  • mfrom: (59.1.3 private-builds)
  • Revision ID: james.tunnicliffe@linaro.org-20111019145346-1sxy47uk8zpxqbdp
Adding launchpad user name and SSH key storage to database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
    launchpad_project = models.ForeignKey("LaunchpadProject", blank=True, null=True)
219
219
    status = models.CharField('status', max_length=200, null=True, choices=STATUS_CHOICES)
220
220
    config_url = models.CharField('config URL', max_length=200) # Add some kind of validator here.
 
221
 
 
222
    # The Launchpad User and SSH key are stored per project. If we stored them
 
223
    # per LauncpadProject, anyone who could create a Project referencing that
 
224
    # LaunchpadProject could get access to the private data in it.
 
225
    lp_user = models.TextField('Launchpad User', null=True, editable=False,
 
226
                               blank=True)
 
227
    lp_ssh_key = models.TextField("Launchpad User's SSH Key", blank=True,
 
228
                                  null=True, editable=False)
 
229
 
221
230
    notes = models.TextField(blank=True, null=True)
222
231
 
223
232
    class Meta: