election_day.security ===================== .. py:module:: election_day.security Classes ------- .. autoapisummary:: election_day.security.MaybePublic Functions --------- .. autoapisummary:: election_day.security.has_permission_maybe_public_not_logged_in election_day.security.has_permission_maybe_public_logged_in Module Contents --------------- .. py:class:: MaybePublic Bases: :py:obj:`onegov.core.security.permissions.Intent` The general public is allowed to do this, if not otherwise defined in the principal. .. py:function:: has_permission_maybe_public_not_logged_in(app: onegov.election_day.ElectionDayApp, identity: None, model: object, permission: object) -> bool .. py:function:: has_permission_maybe_public_logged_in(app: onegov.election_day.ElectionDayApp, identity: morepath.authentication.Identity, model: object, permission: MaybePublic) -> bool