Part of lp.app.interfaces.security View In Hierarchy
| Method | checkUnauthenticated | Whether an unauthenticated user has permission on obj. |
| Method | checkAuthenticated | Whether an authenticated user has permission on obj. |
permission on obj.
Returns True if an unauthenticated user has that permission on the
adapted object. Otherwise returns False.
If the check must be delegated to other objects, this method can
optionally instead generate (object, permission) tuples. It is then
the security policy's job of checking authorization of those pairs.
permission on obj.
Returns True if the person has that permission on the adapted
object. Otherwise returns False.
If the check must be delegated to other objects, this method can
optionally instead generate (object, permission) tuples. It is then
the security policy's job of checking authorization of those pairs.
Typically all delegated authorizations must be allowed for the top-level authorization to be allowed, but this is dependent on the security policy in force.
| Parameters | person | The person that is authenticated. |