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 /webui_templates/system_edit.tmpl | |
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 'webui_templates/system_edit.tmpl')
-rw-r--r-- | webui_templates/system_edit.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl index cdb1adc..5396f1d 100644 --- a/webui_templates/system_edit.tmpl +++ b/webui_templates/system_edit.tmpl @@ -225,6 +225,8 @@ function page_onload() { <input type="text" size="255" style="width: 400px;" name="owners" id="owners" #if $system value="$ownerslist" + #else + value="$user" #end if /> <p class="context-tip">Applies only if using authz_ownership module, comma-delimited</p> |