mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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>
This commit is contained in:
1 parent
74678c1d69
commit
585092ca63
4 files changed
+23
-27
No files matched your search
@@ -6,3 +6,5 @@ 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
|
||||
Reference in new issue
Block a user