Hi Thusitha,

Able to reproduce and created a public jira [1] for this issue.

[1] -  https://wso2.org/jira/browse/IDENTITY-3359

Thanks,
Thanuja

On Fri, Jun 19, 2015 at 11:51 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> 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 <is...@wso2.com>
> wrote:
>
>> Hi Thusitha,
>>
>> On Jun 19, 2015 11:07 AM, "Thusitha Thilina Dayaratne" <
>> thusit...@wso2.com> 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
>> > Dev@wso2.org
>> > 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Thanuja Lakmal*
Senior Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94715979891 +94758009992
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to