summaryrefslogtreecommitdiffstats
path: root/webui_templates/profile_edit.tmpl
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-03-31 17:17:30 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-03-31 17:17:30 -0400
commit2c30d3b241e50370f4d4e0cb67ec10d35b35ff99 (patch)
tree5d3e85c17ab66776f35a89d224c457d6d3dfc25f /webui_templates/profile_edit.tmpl
parentc3437479cc300683ac3ffd270114eed3dcaf4f39 (diff)
downloadthird_party-cobbler-2c30d3b241e50370f4d4e0cb67ec10d35b35ff99.tar.gz
third_party-cobbler-2c30d3b241e50370f4d4e0cb67ec10d35b35ff99.tar.xz
third_party-cobbler-2c30d3b241e50370f4d4e0cb67ec10d35b35ff99.zip
Added ownership checks for the various objects in the WebUI to make
things more obvious. Still need to disable save/reset buttons. Note that kickstart editing (supported via the WebUI) is not yet protected and we still need to add that seperately. This is complicated. Currently anyone can sync and we'll keep it that way.
Diffstat (limited to 'webui_templates/profile_edit.tmpl')
-rw-r--r--webui_templates/profile_edit.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
index 95ad1fd..4077c57 100644
--- a/webui_templates/profile_edit.tmpl
+++ b/webui_templates/profile_edit.tmpl
@@ -13,6 +13,13 @@ function disablename(value)
</script>
#end if
+#if $editable != True
+<blockquote>
+WARNING: It looks like you do not have permission to make changes.
+To recieve access, contact your Cobbler server administrator.
+</blockquote>
+#end if
+
<form method="post" action="$base_url?mode=profile_save">
<fieldset id="cform">