summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2009-06-18 13:14:16 -0400
committerBill Peck <bpeck@redhat.com>2009-06-18 13:14:16 -0400
commit3d5f79fafa6ddfa6297b3507015b012a5b62785d (patch)
tree495fcf8abd5efecce9b0b2a441dbb78cbd0feddb
parent9fc63d242ff45a1a46440df345d6a0de5999e980 (diff)
fix 500 error when new system is added by non admin and is sharedbeaker-0_4_11
-rw-r--r--Server/beaker/server/templates/system_form.kid4
-rw-r--r--beaker.spec5
2 files changed, 6 insertions, 3 deletions
diff --git a/Server/beaker/server/templates/system_form.kid b/Server/beaker/server/templates/system_form.kid
index 894a334..5f5ef2c 100644
--- a/Server/beaker/server/templates/system_form.kid
+++ b/Server/beaker/server/templates/system_form.kid
@@ -92,7 +92,9 @@
<b>Shared</b>
</th>
<td class="list">
- ${display_field_for("shared")}
+ <span py:if="value_for('fqdn')">
+ ${display_field_for("shared")}
+ </span>
</td>
<th class="list">
<b>Current User</b>
diff --git a/beaker.spec b/beaker.spec
index 3cb1d76..abb69a8 100644
--- a/beaker.spec
+++ b/beaker.spec
@@ -2,7 +2,7 @@
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
Name: beaker
-Version: 0.4.10
+Version: 0.4.11
Release: 0%{?dist}
Summary: Filesystem layout for Beaker
Group: Applications/Internet
@@ -132,8 +132,9 @@ ln -s RedHatEnterpriseLinux6.ks $RPM_BUILD_ROOT/var/lib/cobbler/kickstarts/redha
/usr/share/man/man1/beakerlib*
%changelog
-* Thu Jun 18 2009 Bill Peck <bpeck@redhat.com> - 0.4.10-0
+* Thu Jun 18 2009 Bill Peck <bpeck@redhat.com> - 0.4.11-0
- added install_name to distro pick method
+- fixed 500 error when non-admin adds a new system with shared set.
* Fri Jun 12 2009 Bill Peck <bpeck@redhat.com> - 0.4.9-1
- releng fixed the name of rhel6 to RedHatEnterpriseLinux6 in .treeinfo
* Wed Jun 10 2009 Bill Peck <bpeck@redhat.com> - 0.4.9