Does this mean our blog application doesn't work for non admins in XE
1.9?
If so it's a big problem that may require releasing 1.9.1 sooner than
we wanted IMO and do a 1.9.2.
WDYT?
Thanks
-Vincent
On Jun 17, 2009, at 3:20 PM, sdumitriu (SVN) wrote:
Author: sdumitriu
Date: 2009-06-17 15:20:27 +0200 (Wed, 17 Jun 2009)
New Revision: 21328
Modified:
platform/xwiki-applications/trunk/blog/src/main/resources/Blog/
Publisher.xml
Log:
XABLOG-49: Publishing blog posts does not work for non-admin users
Fixed.
Patch from Marta Girdea applied without changes.
Modified: platform/xwiki-applications/trunk/blog/src/main/resources/
Blog/Publisher.xml
===================================================================
--- platform/xwiki-applications/trunk/blog/src/main/resources/Blog/
Publisher.xml 2009-06-17 13:17:12 UTC (rev 21327)
+++ platform/xwiki-applications/trunk/blog/src/main/resources/Blog/
Publisher.xml 2009-06-17 13:20:27 UTC (rev 21328)
@@ -30,7 +30,7 @@
#end
#set($entryName = "$!{request.entryName}")
#if($entryName != '')
- #if($xwiki.hasAccessLevel('edit', $context.user,
$entryDoc.fullName))
+ #if($xwiki.hasAccessLevel('edit', $context.user, $entryName))
#set($entryDoc = $xwiki.getDocument($entryName))
#if ($entryDoc)
#getEntryObject($entryDoc $entryObj)