l.s.AnyLegitimatePerson(AuthorizationBase) : class documentation

Part of lp.security View In Hierarchy

The default ruleset for the launchpad.AnyLegitimatePerson permission.

Some operations are open to Launchpad users in general, but we still don't want drive-by vandalism.

Method checkUnauthenticated See IAuthorization.checkUnauthenticated.
Method checkAuthenticated Return True if the given person has the given permission.
Method _hasEnoughKarma Undocumented
Method _isOldEnough Undocumented

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):
See IAuthorization.checkUnauthenticated.
ReturnsTrue or False.
def _hasEnoughKarma(self, user):
Undocumented
def _isOldEnough(self, user):
Undocumented
def checkAuthenticated(self, user):
Return True if the given person has the given permission.

This method is implemented by security adapters that have not been updated to work in terms of IAccount.

ReturnsTrue or False.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.