Skip to content

Log admin interventions into organizations #529

@allanlasser

Description

@allanlasser

As we provide more front-end support for staff members to modify and act on orgs without hijacking, we should make sure we adopt our new activity tracking logic so we can have an accurate record of these interventions.

def new_action(
actor, verb, action_object=None, target=None, public=False, description=None
):
"""Wrapper to send a new action and return the generated Action object."""
action_signal = actstream.action.send(
actor,
verb=verb,
action_object=action_object,
target=target,
public=public,
description=description,
)
# action_signal = ((action_handler, Action))
return action_signal[0][1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions