diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-04-02 18:29:06 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-04-02 18:29:06 -0400 |
commit | 3c08531c4e913268b94618b9939a44161d2dc556 (patch) | |
tree | d67d81dbe260c99c5ef4cb0e6f9eb6d47946e15f /cobbler/settings.py | |
parent | 3e29f5d729da704f608b2cd2dc7cf16a42d934f4 (diff) | |
download | third_party-cobbler-3c08531c4e913268b94618b9939a44161d2dc556.tar.gz third_party-cobbler-3c08531c4e913268b94618b9939a44161d2dc556.tar.xz third_party-cobbler-3c08531c4e913268b94618b9939a44161d2dc556.zip |
Added some code to allow assignment of default ownership from settings for new
objects. Also, ownership field for new objects in the WebUI is prepopulated with the username of the logged in user, to prevent accidental lockouts. All of this is untested at this point -- will be polished up soon.
Diffstat (limited to 'cobbler/settings.py')
-rw-r--r-- | cobbler/settings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cobbler/settings.py b/cobbler/settings.py index 7681188..4372f3a 100644 --- a/cobbler/settings.py +++ b/cobbler/settings.py @@ -33,6 +33,7 @@ DEFAULTS = { "default_virt_type" : "auto", "default_virt_file_size" : "5", "default_virt_ram" : "512", + "default_ownership" : [ "admin" ], "dhcpd_conf" : "/etc/dhcpd.conf", "dhcpd_bin" : "/usr/sbin/dhcpd", "dnsmasq_bin" : "/usr/sbin/dnsmasq", |