Hi Tanya,

On Fri, Jun 26, 2015 at 4:44 PM, Tanya Madurapperuma <[email protected]> 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.

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
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to