You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/09/25 21:04:00 UTC
svn commit: r291461 -
/incubator/roller/branches/roller_2.0/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
Author: snoopdave
Date: Sun Sep 25 12:03:57 2005
New Revision: 291461
URL: http://svn.apache.org/viewcvs?rev=291461&view=rev
Log:
Allow LIMITED bloggers to edit pending entries
Modified:
incubator/roller/branches/roller_2.0/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
Modified: incubator/roller/branches/roller_2.0/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java?rev=291461&r1=291460&r2=291461&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java (original)
+++ incubator/roller/branches/roller_2.0/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java Sun Sep 25 12:03:57 2005
@@ -158,7 +158,7 @@
forward = mapping.findForward("error");
}
else if (rses.isUserAuthorizedToAuthor(entry.getWebsite())
- || (rses.isUserAuthorized(entry.getWebsite()) && entry.isDraft()))
+ || (rses.isUserAuthorized(entry.getWebsite()) && !entry.isPublished()))
{
form.copyFrom(entry, request.getLocale());
WeblogEntryPageModel pageModel = new WeblogEntryPageModel(