I have now fixed these. Thanks.
On Tue, Feb 17, 2015 at 7:40 PM, Rajkumar Rajaratnam <[email protected]> wrote: > Hi Devs, > > I found some of our rest APIs doesn't have the correct Authorization > Action. For example addDeploymentPolicy API. > > @POST > @Path("/deploymentPolicies") > @Produces("application/json") > @Consumes("application/json") > @AuthorizationAction("/permission/admin/manage/addCartridge") > public Response addDeploymentPolicy(DeploymentPolicyBean > deploymentPolicyDefinitionBean) > throws RestAPIException { > > Authorization Action should be > "/permission/admin/manage/addDeploymentPolicy". We also need to add this to > the component.xml of the relevant component (AS/CC/SM) which exposes this > API. > > Thanks. > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com
