Hi,

On Fri, Jun 26, 2015 at 5:01 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Hi Tanya,
>
> On Fri, Jun 26, 2015 at 4:44 PM, Tanya Madurapperuma <ta...@wso2.com>
> wrote:
>
>> Hi,
>>
>> In products like ES, APIM we have set of internal roles such as
>> internal/publisher, internal/store, internal/reviewer etc that comes by
>> default.
>>
>> These roles are visible when we log into the super tenant.
>>
>> But if we create a tenant and login to that tenant from management
>> console as the tenant admin, those internal roles are not visible to the
>> tenant admin.
>>
>> Is this the desired behaviour ?
>>
>
> Yes, roles belong to a particular tenant.
>
>
>> If so, is it the responsibility of the tenant admin to create those roles
>> manually and assign the appropriate permission to that role?
>>
>
> You can automate that by writing a tenant loading listener by extending
> AbstractAxis2ConfigurationContextObserver.
>
I think its better to use TenantMgtListener to  do this.

Thanks,
Ishara

>
> Thanks,
> Bhathiya
>
>
>>
>> Appreciate any insight.
>>
>> Thanks,
>> Tanya
>>
>>
>> --
>> Tanya Madurapperuma
>>
>> Senior Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94718184439
>> Blog : http://tanyamadurapperuma.blogspot.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ishara Karunarathna
Senior Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to