Part of lp.registry.interfaces.person View In Hierarchy
Known subclasses: lp.registry.interfaces.webservice.IPerson
Very few attributes on a person can be public because private teams are also persons. The public attributes are generally information needed by the system to determine if the principal in the current interaction can work with the object.
Int | id | Undocumented |
Bool | is_valid_person | Undocumented |
Method | anyone_can_join | Quick check as to whether a team allows anyone to join. |
Method | checkAllowVisibility | Is the user allowed to see the visibility field. |
Method | transitionVisibility | Set visibility of IPerson. |
Method | isMergePending | Is this person due to be merged with another? |
Inherited from IPrivacy:
Bool | private | Private objects are visible to members or subscribers. |
Parameters | The user. | |
Returns | True if they can, otherwise False. |
Parameters | visibility | The PersonVisibility to change to. |
user | The user requesting the change. | |
Returns | None. | |
Raises | ImmutableVisibilityError when the visibility can not
be changed. |