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  

This page was created on 17-Apr-2006 19:41 by Bruce E Hayward

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
fuck you
|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
At line 3 changed one line
bingfeng~~
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
Version Date Modified Size Author Changes ... Change note
5 26-Sep-2011 23:37 2.155 kB Janne Jalkanen to previous
4 23-Sep-2011 16:54 0.025 kB 116.55.250.214 to previous | to last
3 02-Mar-2007 23:25 2.155 kB HarryMetske to previous | to last bug closed
2 18-Apr-2006 17:06 2.062 kB Janne Jalkanen to previous | to last
1 17-Apr-2006 19:41 1.733 kB Bruce E Hayward to last
« This page (revision-5) was last changed on 26-Sep-2011 23:37 by Janne Jalkanen