54ba3e9616
* add meta model to apply blueprint within blueprint for dependencies Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * fix tests Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * use custom registry Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * fix again Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * move ManagedAppConfig to apps.py Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * rename manager to registry Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * ci: use full tag in comment Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
20 lines
701 B
Python
20 lines
701 B
Python
"""Authentik reputation_policy app config"""
|
|
from authentik.blueprints.apps import ManagedAppConfig
|
|
|
|
|
|
class AuthentikPolicyReputationConfig(ManagedAppConfig):
|
|
"""Authentik reputation app config"""
|
|
|
|
name = "authentik.policies.reputation"
|
|
label = "authentik_policies_reputation"
|
|
verbose_name = "authentik Policies.Reputation"
|
|
default = True
|
|
|
|
def reconcile_load_policies_reputation_signals(self):
|
|
"""Load policies.reputation signals"""
|
|
self.import_module("authentik.policies.reputation.signals")
|
|
|
|
def reconcile_load_policies_reputation_tasks(self):
|
|
"""Load policies.reputation tasks"""
|
|
self.import_module("authentik.policies.reputation.tasks")
|