Hi Team. Any update on this? Regards, Vinod
On Fri, Jul 29, 2016 at 3:13 PM, Milinda Perera <[email protected]> wrote: > Hi all, > > Similar problem exists with tenants also with jaggery[1] (since same used > in jaggery extentions). But that won't get working even after adding a new > roles for tenants. > > [1] mail: [Jaggerry][BPS] Check user permission using jaggery user.User > not working for tenants > > Thanks, > Milinda > > On Fri, Jul 29, 2016 at 3:01 PM, Thusitha Thilina Dayaratne < > [email protected]> wrote: > >> Adding IS guys >> >> On Fri, Jul 29, 2016 at 3:00 PM, Vinod Kavinda <[email protected]> wrote: >> >>> Hi Team, >>> Any idea on this? >>> >>> Regards, >>> Vinod >>> >>> On Fri, Jul 29, 2016 at 12:15 PM, Vinod Kavinda <[email protected]> wrote: >>> >>>> Hi, >>>> I'm trying to do $subject using getAllowedUIResourcesForUser() method. >>>> When only the admin role exists in the system, it always returns an empty >>>> array. It works fine after adding another role. >>>> >>>> I'm using the following code block for this. >>>> >>>> UserRealm userRealm = BPMNOSGIService.getUserRealm(); >>>> String[] permissionArray = >>>> userRealm.getAuthorizationManager().getAllowedUIResourcesForUser(username,"/permission/admin/manage"); >>>> >>>> Am I missing something here? Is this a known bug? >>>> >>>> Regards, >>>> Vinod >>>> >>>> Vinod Kavinda >>>> Software Engineer >>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* >>>> Mobile : +94 (0) 712 415544 >>>> Blog : http://soatechflicks.blogspot.com/ >>>> [image: http://wso2.com/signature] >>>> <http://wso2.com/signature> >>>> >>>> >>> >>> >>> -- >>> Vinod Kavinda >>> Software Engineer >>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* >>> Mobile : +94 (0) 712 415544 >>> Blog : http://soatechflicks.blogspot.com/ >>> [image: http://wso2.com/signature] >>> <http://wso2.com/signature> >>> >>> >> >> >> -- >> Thusitha Dayaratne >> Software Engineer >> WSO2 Inc. - lean . enterprise . middleware | wso2.com >> >> Mobile +94712756809 >> Blog alokayasoya.blogspot.com >> About http://about.me/thusithathilina >> <http://wso2.com/signature> >> >> > > > -- > Milinda Perera > Senior Software Engineer; > WSO2 Inc. http://wso2.com , > Mobile: (+94) 714 115 032 > > -- Vinod Kavinda Software Engineer *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* Mobile : +94 (0) 712 415544 Blog : http://soatechflicks.blogspot.com/ [image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
