TitleAttachment upload (Add new attachment) does not show unless you are an admin
Date17-Apr-2006 19:41:17 EEST
VersionJSPWiki v2.3.92-alpha
SubmitterBruce E Hayward
Bug criticalityMediumBug
Browser versionIE 6 and Firefoxs
Bug statusClosedBug
PageProvider used
Servlet Containerjakarta-tomcat
Operating SystemSunOS web1 5.9 Generic_117172-05 i86pc i386 i86pc
URL
Java version5.0.29

If not logged on as Admin you do no see the "Add new attachment" / Browse / Upload...

Logged on with the Admin group I can see it, with the ESTeam Group I cannot:

grant signedBy "jspwiki"
  principal com.ecyrd.jspwiki.auth.GroupPrincipal "ESTeam" {
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "delete";
    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:Group*", "edit";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createPages,createGroups";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editPreferences";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "editProfile";
    permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "login";
};


// Administrators also are allowed to delete any page, and can edit, 
// rename and delete groups. To activate the administrator group, 
// uncomment this block and create a wiki group called "Admin".
// You should also match the permission target (here, 'JSPWiki') with
// the value of the 'jspwiki.applicationName' property in jspwiki.properties.

 grant signedBy "jspwiki"
  principal com.ecyrd.jspwiki.auth.GroupPrincipal "Admin" {
    permission com.ecyrd.jspwiki.auth.permissions.AllPermission "JSPWiki";

Shouldn't ESTeam have

    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", "delete,upload";
to allow uploading to work?

Also, note that in the latest releases "modify" implies both "edit" and "upload", whereas "edit" means just that - editing the page.

-- JanneJalkanen


No reaction to your suggestion for almost a year ==> bug closed.

--HarryMetske

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-5) was last changed on 26-Sep-2011 23:37 by Janne Jalkanen