From 4fe994b11f7e5978c969626dedc593b7357b7fd2 Mon Sep 17 00:00:00 2001 From: David Kupka Date: Wed, 19 Aug 2015 08:10:03 +0200 Subject: Backup/resore authentication control configuration https://fedorahosted.org/freeipa/ticket/5071 Reviewed-By: Martin Babinsky --- ipaplatform/base/tasks.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ipaplatform/base') diff --git a/ipaplatform/base/tasks.py b/ipaplatform/base/tasks.py index 08fdb494a..65715145a 100644 --- a/ipaplatform/base/tasks.py +++ b/ipaplatform/base/tasks.py @@ -150,6 +150,21 @@ class BaseTaskNamespace(object): return + def backup_auth_configuration(self, path): + """ + Create backup of access control configuration. + :param path: store the backup here. This will be passed to + restore_auth_configuration as well. + """ + return + + def restore_auth_configuration(self, path): + """ + Restore backup of access control configuration. + :param path: restore the backup from here. + """ + return + def set_selinux_booleans(self, required_settings, backup_func=None): """Set the specified SELinux booleans -- cgit