|Title|Attachment upload (Add new attachment) does not show unless you are an admin
|Date|17-Apr-2006 19:41:17 EEST
|Version|JSPWiki v2.3.92-alpha
|Submitter|Bruce E Hayward
|[Bug criticality]|MediumBug
|Browser version|IE 6 and Firefoxs
|[Bug status]|ClosedBug
|[PageProvider] used|
|Servlet Container|jakarta-tomcat
|Operating System|SunOS web1 5.9 Generic_117172-05 i86pc i386 i86pc
|URL|
|Java version|5.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