l.s.w.t.t.Deny(AuthorizationBase) : class documentation

Part of lp.services.webapp.tests.test_authorization View In Hierarchy

An IAuthorization adapter denying everything.
Method checkUnauthenticated See IAuthorization.checkUnauthenticated.
Method checkAuthenticated Return True if the given person has the given permission.

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 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.