Sunil Mohan Adapa 585092ca63
actions: Allow nested and top-level actions
- Currently, privileged actions are not allowed under top-level plinth module.
They are only allowed under each app module. Allow privileged actions under
plinth module.

- Currently, privileged actions are not allowed under a sub-module of
'privileged' package. They are allowed only in 'privileged' module. Allow
sub-modules under 'privileged' package.

Tests:

- Email app functional tests pass
- Functional tests for apps using package and service privileged methods pass

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-10-08 18:50:34 -04:00

11 lines
272 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Provides privileged actions that run as root.
"""
from . import aliases, dkim, domain, home, postfix, spam, tls
__all__ = ['aliases', 'domain', 'dkim', 'home', 'postfix', 'spam', 'tls']
from .aliases import action_setup