l.s.ViewPublicOrPrivateTeamMembers(AuthorizationBase) : class documentation

Part of lp.security View In Hierarchy

Restrict viewing of private teams.

Only members of a private team can view the membership list.

Method checkUnauthenticated Unauthenticated users can only view public memberships.
Method checkAuthenticated Verify that the user can view the team's membership.

Inherited from AuthorizationBase:

Method __init__ Undocumented
Method checkPermissionIsRegistered Pass through to checkPermission.
Method forwardCheckAuthenticated Forward request to another security adapter.
Method forwardCheckUnauthenticated Forward request to another security adapter.
Method _checkAndFetchNext Undocumented
def checkUnauthenticated(self):
Unauthenticated users can only view public memberships.
def checkAuthenticated(self, user):
Verify that the user can view the team's membership.

Anyone can see a public team's membership. Only a team member, commercial admin, or a Launchpad admin can view a private team's members.

API Documentation for Launchpad, generated by pydoctor at 2019-06-24 00:00:06.