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 | 4fe994b11f7e5978c969626dedc593b7357b7fd2 (patch) | |
tree | 342b1f78c0f9593dc33f4b8a920096f849a0a0b0 /ipaplatform/base | |
parent | d0c41bd2f2d125fa591b13c602c125a2a112a6c7 (diff) | |
download | freeipa-4fe994b11f7e5978c969626dedc593b7357b7fd2.tar.gz freeipa-4fe994b11f7e5978c969626dedc593b7357b7fd2.tar.xz freeipa-4fe994b11f7e5978c969626dedc593b7357b7fd2.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 |