gws.base.action.manager

Source code: gws.base.action.manager

Module Contents

class gws.base.action.manager.Object

Bases: gws.ActionManager

Action manager.

actions_for_project(project, user)

Get a list of actions for a Project, to which a User has access to.

find_action(project, ext_type, user)

Locate an Action object.

Parameters:
  • project – Project to se

  • ext_type

  • user

Returns:

prepare_action(command_category, command_name, params, user, read_options=None)
gws.base.action.manager.prepare_cli_action(root: gws.Root, command_category: gws.CommandCategory, command_name: str, params: dict, read_options=None)