l.s.ViewLibraryFileAliasWithParent(AuthorizationBase) : class documentation

Part of lp.security View In Hierarchy

Authorization class for viewing LibraryFileAliass having a parent.
Method checkAuthenticated Only persons which can edit an LFA's parent can edit an LFA.

Inherited from AuthorizationBase:

Method __init__ Undocumented
Method checkUnauthenticated See IAuthorization.checkUnauthenticated.
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 checkAuthenticated(self, user):
Only persons which can edit an LFA's parent can edit an LFA.

By default, a LibraryFileAlias does not know about its parent.

If a parent is known, users which can view the parent can also view the LibraryFileAlias.

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