TitleProblems with Deleting of Pages as Admin
Date15-Mar-2007 12:42:37 EET
Versionv2.4.100
Submitter193.27.50.75
Bug criticalityBadBug
Browser versionIE / FF doesn't matter
Bug statusClosedBug
PageProvider used??
Servlet ContainerApache Tomcat 5.0.28
Operating SystemSolaris 8
URLDelete.jsp
Java version

Well... i got a

Forbidden
Sorry, but you are not allowed to do that. 

Usually we block access to something because you do not have the correct privileges (e.g., read, edit, comment) for the page you are looking for. In this particular case, it is likely that you are not listed in the page’s access control list or that your privileges aren’t high enough (you want to edit, but ACL only allows ‘read’). 

It is also possible that JSPWiki cannot find its security policy, or that the policy is not configured correctly. Either of these cases would cause JSPWiki to block access, too. 

Better luck next time.

in trying to delete a WikiPage.

The button "Delete entire Page" is shown correctly... iam "Authenticated" by the WebContainer Realm and my principal in the "Admin" Role in groupdatabase.xml.

Wheres the problem?

part of my jspwiki.policy:

<security-constraint>
       <web-resource-collection>
           <web-resource-name>Administrative Area</web-resource-name>
           <url-pattern>/Delete.jsp</url-pattern>
       </web-resource-collection>
       <auth-constraint>
           <role-name>Admin</role-name>
       </auth-constraint>
    <!--   <user-data-constraint>
           <transport-guarantee>CONFIDENTIAL</transport-guarantee>
       </user-data-constraint> -->
   </security-constraint>

 <security-constraint>
       <web-resource-collection>
           <web-resource-name>Administrative Area</web-resource-name>
           <url-pattern>/Delete.jsp</url-pattern>
       </web-resource-collection>
       <auth-constraint>
           <role-name>Admin</role-name>
       </auth-constraint>
    <!--   <user-data-constraint>
           <transport-guarantee>CONFIDENTIAL</transport-guarantee>
       </user-data-constraint> -->
   </security-constraint>

Hmm... any Ideas? I need to delete pages!

Thanks, and apologise my terrible english, is not my mother-tongue...

and please AnswerMe ... :)

Does this still happen ? Have you managed to find the (config) error ?
I delete pages very regularly, and I haven't seen this.
If you still have this problem, could you attach your web.xml and jspwiki.policy file for further diagnosis ?

Waiting for bug reporter

--HarryMetske

Matty


No response from bug reporter, closing bug.

--HarryMetske

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-6) was last changed on 21-Apr-2007 21:15 by HarryMetske