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

« back to all changes in this revision

Viewing changes to lib/offspring/master/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:
165
165
    status = Unicode()
166
166
    config_url = Unicode()
167
167
    notes = Unicode()
 
168
 
 
169
    # The Launchpad User and SSH key are stored per project. If we stored them
 
170
    # per LauncpadProject, anyone who could create a Project referencing that
 
171
    # LaunchpadProject could get access to the private data in it.
 
172
    lp_user = Unicode()
 
173
    lp_ssh_key = Unicode()
168
174
    
169
175
    def __init__(self, name, priority=40):
170
176
        self.title = unicode(name.capitalize())