[ 
https://issues.apache.org/jira/browse/SLING-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17752196#comment-17752196
 ] 

Jun Zhang commented on SLING-11997:
-----------------------------------

FYI, proper parameter like -FdeleteAuthorizable=true works to delete that 
successfully

> Sling post servlet delete protected node like group report success but actual 
> failed
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-11997
>                 URL: https://issues.apache.org/jira/browse/SLING-11997
>             Project: Sling
>          Issue Type: Bug
>          Components: Sling Security
>            Reporter: Jun Zhang
>            Priority: Minor
>
> Sling post servlet delete protected node report success but actual failed
>  
> curl -u user:pwd -F":operation=delete" 
> [http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL|http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL]
>  
> it report success response below:
> {code:java}
> curl -u admin:admin -F"deleteAuthorizable=true" 
> http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL
> <html>
> <head>
>     <title>Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL</title>
> </head>
>     <body>
>     <h1>Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL</h1>
>     <table>
>         <tbody>
>             <tr>
>                 <td>Status</td>
>                 <td><div id="Status">200</div></td>
>             </tr>
>             <tr>
>                 <td>Message</td>
>                 <td><div id="Message">OK</div></td>
>             </tr>
>             <tr>
>                 <td>Location</td>
>                 <td><img class="cq-LinkChecker cq-LinkChecker--prefix 
> cq-LinkChecker--invalid" src="/libs/cq/linkchecker/resources/linkcheck_o.gif" 
> alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" 
> border="0">/home/groups/C/CrKDhM1fP5xxs5YcN6rL<img class="cq-LinkChecker 
> cq-LinkChecker--suffix cq-LinkChecker--invalid" 
> src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0"></td>
>             </tr>
>             <tr>
>                 <td>Parent Location</td>
>                 <td><a href="/home/groups/C" 
> id="ParentLocation">/home/groups/C</a></td>
>             </tr>
>             <tr>
>                 <td>Path</td>
>                 <td><div 
> id="Path">/home/groups/C/CrKDhM1fP5xxs5YcN6rL</div></td>
>             </tr>
>             <tr>
>                 <td>Referer</td>
>                 <td><a href="" id="Referer"></a></td>
>             </tr>
>             <tr>
>                 <td>ChangeLog</td>
>                 <td><div id="ChangeLog">&lt;pre&gt;&lt;/pre&gt;</div></td>
>             </tr>
>         </tbody>
>     </table>
>     <p><a href="">Go Back</a></p>
>     <p><img class="cq-LinkChecker cq-LinkChecker--prefix 
> cq-LinkChecker--invalid" src="/libs/cq/linkchecker/resources/linkcheck_o.gif" 
> alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" border="0">Modified Resource<img 
> class="cq-LinkChecker cq-LinkChecker--suffix cq-LinkChecker--invalid" 
> src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0"></p>
>     <p><a href="/home/groups/C">Parent of Modified Resource</a></p>
>     </body>
> </html> {code}
>  but actually failed
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to