[Bedework-commit] r582 -
trunk/calendar3/webcommon/src/org/bedework/webcommon/pref
svnadmin at bedework.org
svnadmin at bedework.org
Tue Jun 13 16:15:17 EDT 2006
Author: douglm
Date: 2006-06-13 16:15:17 -0400 (Tue, 13 Jun 2006)
New Revision: 582
Modified:
trunk/calendar3/webcommon/src/org/bedework/webcommon/pref/UpdatePrefsAction.java
Log:
Fix no access bug in update preferences
Modified: trunk/calendar3/webcommon/src/org/bedework/webcommon/pref/UpdatePrefsAction.java
===================================================================
--- trunk/calendar3/webcommon/src/org/bedework/webcommon/pref/UpdatePrefsAction.java 2006-06-13 19:36:16 UTC (rev 581)
+++ trunk/calendar3/webcommon/src/org/bedework/webcommon/pref/UpdatePrefsAction.java 2006-06-13 20:15:17 UTC (rev 582)
@@ -108,7 +108,7 @@
BwPreferences prefs;
/* Refetch the prefs */
- if (getReqPar(request, "user") != null) {
+ if (getPublicAdmin(form) && (getReqPar(request, "user") != null)) {
/* Fetch a given users preferences */
if (!form.getCurUserSuperUser()) {
return "noAccess"; // First line of defence
More information about the Bedework-commit
mailing list