Part of canonical.launchpad.security View In Hierarchy
Known subclasses: canonical.launchpad.security.ViewSourcePackageRecipe, canonical.launchpad.security.ViewSourcePackageRecipeBuild
Implementations must define permission, usedfor and iter_objects. iter_objects should iterate through the objects to check permission on.
Failure on the permission check for any object causes an overall failure.
Method | iter_adapters | Undocumented |
Method | checkAuthenticated | Return True if the given person has the given permission. |
Method | checkUnauthenticated | See IAuthorization.checkUnauthenticated . |
Inherited from AuthorizationBase:
Method | __init__ | Undocumented |
Method | checkAccountAuthenticated | See IAuthorization.checkAccountAuthenticated . |
This method is implemented by security adapters that have not been updated to work in terms of IAccount.
Returns | True or False. |