roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r291461 - /incubator/roller/branches/roller_2.0/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
Date Sun, 25 Sep 2005 19:04:00 GMT
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(



Mime
View raw message