Add multi-account command ACL system
This commit is contained in:
34
app/commands/__init__.py
Normal file
34
app/commands/__init__.py
Normal file
@@ -0,0 +1,34 @@
|
||||
from app.commands.acl import RuntimeAclStore
|
||||
from app.commands.builtins import DEFAULT_REGISTRY, command_registry
|
||||
from app.commands.core import (
|
||||
CheckResult,
|
||||
CommandBuilder,
|
||||
CommandCheck,
|
||||
CommandContext,
|
||||
CommandDefinition,
|
||||
CommandRegistry,
|
||||
combine_checks,
|
||||
owner_only_check,
|
||||
require_args_check,
|
||||
require_reply_check,
|
||||
shared_access_check,
|
||||
)
|
||||
from app.commands.dispatcher import CommandDispatcher
|
||||
|
||||
__all__ = [
|
||||
"CheckResult",
|
||||
"CommandBuilder",
|
||||
"CommandCheck",
|
||||
"CommandContext",
|
||||
"CommandDefinition",
|
||||
"CommandDispatcher",
|
||||
"CommandRegistry",
|
||||
"DEFAULT_REGISTRY",
|
||||
"RuntimeAclStore",
|
||||
"command_registry",
|
||||
"combine_checks",
|
||||
"owner_only_check",
|
||||
"require_args_check",
|
||||
"require_reply_check",
|
||||
"shared_access_check",
|
||||
]
|
||||
Reference in New Issue
Block a user