election_day.security
Classes
The general public is allowed to do this, if not otherwise defined |
Functions
Module Contents
- class election_day.security.MaybePublic[source]
Bases:
onegov.core.security.permissions.Intent
The general public is allowed to do this, if not otherwise defined in the principal.
- election_day.security.has_permission_maybe_public_not_logged_in(app: onegov.election_day.ElectionDayApp, identity: None, model: object, permission: object) bool [source]
- election_day.security.has_permission_maybe_public_logged_in(app: onegov.election_day.ElectionDayApp, identity: morepath.authentication.Identity, model: object, permission: MaybePublic) bool [source]