Skip to main content

Posts

Showing posts with the label Admin services

How to use WSO2 Carbon Admin services to assign permissions to user goups

This is the way of setting permissions for a role using a “carbon admin service”. Basically, this is an http post request. The endpoint is :  https://localhost:9445/services/UserAdmin.UserAdminHttpsSoap11Endpoint Replace localhost and port according management console information That should be like <esb host name>:<management console https port> Request Payload : <soapenv:Envelope xmlns:soapenv=” http://schemas.xmlsoap.org/soap/envelope/ ” xmlns:xsd=” http://org.apache.axis2/xsd “>    <soapenv:Header/>    <soapenv:Body>       <xsd:setRoleUIPermission>          <!–Optional:–>          <xsd:roleName>cg_publisher</xsd:roleName>          <!–Zero or more repetitions:–>          <xsd:rawResources>/perm...