Actions

BaseAction

class policyengine.models.BaseAction(*args, **kwargs)

Base Action

community

The CommunityPlatform in which the action occurred (or was proposed). If proposed through the PolicyKit app, this is the community that the proposing user was authenticated with.

initiator

The CommunityUser who initiated the action. May not exist if initiated by PolicyKit.

is_bundled

True if the action is part of a bundle.

kind = None

Kind of action. One of ‘platform’ or ‘constitution’ or ‘trigger’. Do not override.

property action_type

The type of action (such as ‘slackpostmessage’ or ‘policykitaddcommunitydoc’).

ConstitutionAction

Extends BaseAction.

PlatformAction

Extends BaseAction.