Hi Charitha, In products like APIM adding of permissions happens via component.xml e.g. [1] (as Kasun pointed out). This would basically add the permissions on initial server startup. However products like the IOT / EMM happen to add permissions via jaggery code.
[1] - https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/resources/META-INF/component.xml Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc. email : [email protected] mobile : +94 77 9110413 blog : http://ruwansrants.blogspot.com/ www: :http://wso2.com On Thu, Aug 20, 2015 at 12:29 PM, Kasun Bandara <[email protected]> wrote: > Hi Charitha, > > AFAIK, Most of the permissions are currently initialized and set in each > carbon component's *component.xml* , while some of the permissions are > set in the code by it self. > > Thanks & Regards, > KasunB > > On Thu, Aug 20, 2015 at 10:52 AM, Kasun Bandara <[email protected]> wrote: > >> Hi Charitha, >> >> AFAIK, Most of the permissions are currently initialized and set in each >> carbon component's *component.xml* , while some of the permissions are >> set in the code by it self. >> >> Thanks & Regards, >> KasunB >> >> On Wed, Aug 19, 2015 at 2:19 PM, Charitha Goonetilleke < >> [email protected]> wrote: >> >>> Hi All, >>> >>> I need to add some custom permissions for roles in IoT server. Currently >>> I'm adding those permissions to registry directly when product starting up. >>> But I want to know is there any configuration xml or any specific way to do >>> the same? >>> >>> Thanks & Regards, >>> /charithag >>> >>> -- >>> *Charitha Goonetilleke* >>> Software Engineer >>> WSO2 Inc.; http://wso2.com >>> lean.enterprise.middleware >>> >>> mobile: +94 77 751 3669 <%2B94777513669> >>> Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag >>> <https://www.facebook.com/charithag>, linkedin: charithag >>> <http://www.linkedin.com/in/charithag> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Kasun Bandara >> *Software Engineer* >> Mobile : +94 (0) 718 338 360 >> <%2B94%20%280%29%20773%20451194> >> [email protected] <[email protected]> >> > > > > -- > Kasun Bandara > *Software Engineer* > Mobile : +94 (0) 718 338 360 > <%2B94%20%280%29%20773%20451194> > [email protected] <[email protected]> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
