~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/interfaces/person.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-10-06 22:47:34 UTC
  • mfrom: (14097.3.9 refactor-team-rename)
  • Revision ID: launchpad@pqm.canonical.com-20111006224734-0slecsrwjpu0z18b
[r=wgrant][bug=853710] Refactor person and team rename checking into
 common code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1427
1427
        :return: a PPA `IArchive` record.
1428
1428
        """
1429
1429
 
 
1430
    def checkRename():
 
1431
        """Check if a person or team can be renamed.
 
1432
 
 
1433
        :return: a text string of the reason, or None if the rename is
 
1434
        allowed.
 
1435
        """
 
1436
 
1430
1437
 
1431
1438
class IPersonViewRestricted(Interface):
1432
1439
    """IPerson attributes that require launchpad.View permission."""