Hi Isura,

> I'm writing some tests for user core functionalities. In there when I'm
trying to create a role which is already existing with some set of
permission it shows the error as expected saying that role >is already
there. But it is removing all the permission from the existing role as well.

>>what is the service you are testing?
I checked with the UserAdmin service. I checked with the AS and try the
same thing with UI as well. I get same issue there as well.

Thanks

On Fri, Jun 19, 2015 at 11:49 AM, Isura Karunaratne <[email protected]> wrote:

> Hi Thusitha,
>
> On Jun 19, 2015 11:07 AM, "Thusitha Thilina Dayaratne" <[email protected]>
> wrote:
> >
> > Hi,
> >
> > I'm writing some tests for user core functionalities. In there when I'm
> trying to create a role which is already existing with some set of
> permission it shows the error as expected saying that role is already
> there. But it is removing all the permission from the existing role as well.
>
> what is the service you are testing?
>
> Thanks
> Isura
> >
> > e.g.
> >
> > I created a testrole with "/permission/admin/login/" and then when I'm
> trying to create a role with same name with some set of permissions it show
> the error. But when I checked the permissions of the existing users all are
> deselected.
> >
> > I think that is not a applicable behavior.
> > Did I missed anything? Please correct me if I'm wrong.
> >
> > Thanks
> > --
> > Thusitha Dayaratne
> > Software Engineer
> > WSO2 Inc. - lean . enterprise . middleware |  wso2.com
> >
> > Mobile  +94712756809
> > Blog      alokayasoya.blogspot.com
> > About    http://about.me/thusithathilina
> >
> >
> > _______________________________________________
> > Dev mailing list
> > [email protected]
> > http://wso2.org/cgi-bin/mailman/listinfo/dev
> >
>



-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to