Hi Hanen,

You may use RemoteAuthorizationManager API [1] for assigning permissions to
roles.

[1] https://docs.wso2.com/display/IS520/Managing+Permissions+with+APIs

On Tue, Jan 10, 2017 at 10:42 PM, Hanen Ben Rhouma <hanen...@gmail.com>
wrote:

> Hi,
>
> Is it possible to create a role with a list of permissions through SCIM ?
> I created one with this command
>
> curl -v -k --user admin:admin --data '{"displayName":
> "TenantAdmin","members": 
> [{"value":"09f55b8d-9a94-484c-9fff-09e02013167a","hanen":
> "hanen"}]}' --header "Content-Type:application/json"
> https://localhost:9443/wso2/scim/Groups
>
> but the result is stripped of any kind of permission, is it possible to
> assign them through such calls ?
>
>
> Regards,
> Hanen
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards

*Chaminda Jayawardena*
Senior Software Engineer - QA
WSO2 Inc. - http://wso2.com
+94-77-7725234
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to