diff options
author | David Kupka <dkupka@redhat.com> | 2015-08-19 08:10:03 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-08-19 14:13:00 +0200 |
commit | db88985c0d4920191b840b5d04d133015293dbe0 (patch) | |
tree | d74b0541a17e3fade50019ff02362eaf6a14b373 /ipaplatform/base | |
parent | f160aa3d0a3f8714463c12dac1acc479d1e18a8d (diff) | |
download | freeipa-db88985c0d4920191b840b5d04d133015293dbe0.tar.gz freeipa-db88985c0d4920191b840b5d04d133015293dbe0.tar.xz freeipa-db88985c0d4920191b840b5d04d133015293dbe0.zip |
Backup/resore authentication control configuration
https://fedorahosted.org/freeipa/ticket/5071
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipaplatform/base')
-rw-r--r-- | ipaplatform/base/tasks.py | 15 |
1 files changed, 15 insertions, 0 deletions
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 |