TitleAttachments not displaying unless User logged in as Admin
Date06-Jan-2006 18:21:30 EET
Version2.3.64
Submittertjiron
Bug criticalityMediumBug
Browser versionIE and Firefox
Bug statusClosedBug
PageProvider used
Servlet ContainerTomcat
Operating SystemWin XP and Suse 9.1
URL
Java version1.4
AssignedToAndrewJaquith

If the image is cashed by the browser (while logged in as Admin), it will show up for other users or even if not logged in.

From jspwiki.policy:

  • grant signedBy "jspwiki" principal com.ecyrd.jspwiki.auth.authorize.Role "Anonymous" {
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "registerUser"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editPreferences"; };
  • grant signedBy "jspwiki" principal com.ecyrd.jspwiki.auth.authorize.Role "Asserted" {
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "view"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "registerUser"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editPreferences"; };
  • grant signedBy "jspwiki" principal com.ecyrd.jspwiki.auth.authorize.Role "Authenticated" {
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "edit"; permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:Group*", "edit"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "registerUser"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editPreferences"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages"; };
  • grant signedBy "jspwiki" principal com.ecyrd.jspwiki.auth.authorize.Role "Admin" {
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "rename,delete"; permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:Group*", "rename,delete"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "registerUser"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editPreferences"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups"; };

ACL on most pages:

 [{ALLOW view All}]
 [{ALLOW comment Authenticated}]
 [{ALLOW edit maint}]


Only seems to happen when an ACL on the page is used limiting access.

--tjiron, 18-Jan-2006


Also in JSPWiki v2.3.92-alpha for us

--Bruce E Hayward, 17-Apr-2006


This should be working in 2.3.104... Can you please check and confirm?

-- JanneJalkanen


I'm tempted to say this is WorksForMe... Can anyone confirm that this bug is gone in latest versions?

-- JanneJalkanen


No response for quite a long time, closing.....

--HarryMetske

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-18) was last changed on 31-Mar-2007 19:17 by HarryMetske