|Title|Problems with Deleting of Pages as Admin
|Date|15-Mar-2007 12:42:37 EET
|Version|v2.4.100
|Submitter|193.27.50.75
|[Bug criticality]|BadBug
|Browser version|IE / FF doesn't matter
|[Bug status]|ClosedBug
|[PageProvider] used|??
|Servlet Container|Apache Tomcat 5.0.28
|Operating System|Solaris 8
|URL|Delete.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|Bugs Pending Bug Reporter]

--HarryMetske

Matty

----
No response from bug reporter, closing bug.

--HarryMetske