how to change user permission using cURL command in CQ5.5?
Hi
I search on google and i find the following command which said it can modify permission of a user (http://www.wemblog.com/2012/03/how-to-do-user-management-using-post.html)
curl -u admin:admin -FprincipalId=testuser -Fprivilege@jcr:all=granted http://localhost:4502/content.modifyAce.html
When I execute the command I get the following error:
<html>
<head>
<title>Error while processing /content</title>
</head>
<body>
<h1>Error while processing /content</h1>
<table>
<tbody>
<tr>
<td>Status</td>
<td><div id="Status">500</div></td>
</tr>
<tr>
<td>Message</td>
<td><div id="Message">javax.jcr.RepositoryException: Failed to resolve path privilege@jcr:all relative to node /content</div></td>
</tr>
<tr>
<td>Location</td>
<td><a href="https://forums.adobe.com/content" id="Location">/content</a></td>
</tr>
<tr>
<td>Parent Location</td>
<td><a href="https://forums.adobe.com/" id="ParentLocation">/</a></td>
</tr>
<tr>
<td>Path</td>
<td><div id="Path">/content</div></td>
</tr>
<tr>
<td>Referer</td>
<td><a href="" id="Referer"></a></td>
</tr>
<tr>
<td>ChangeLog</td>
<td><div id="ChangeLog"><pre></pre></div></td>
</tr>
</tbody>
</table>
<p><a href="">Go Back</a></p>
<p><a href="https://forums.adobe.com/content">Modified Resource</a></p>
<p><a href="https://forums.adobe.com/">Parent of Modified Resource</a></p>
</body>
</html>
Anyone have any suggestion?
Thanks