[adding Pushpalanka to the thread]

Why is disabled in mandadatory list in the backend. It can be optional.
Default is 'enabled'.

Can you explain. If there is not proper reason I think we can fix backend
as well as front end correctly.

Thanks.

On Mon, Feb 16, 2015 at 12:55 PM, Chanuka Dissanayake <[email protected]>
wrote:

> Hi Johann,
>
> I looked into this issue and found the followings,
>
> This "Disabled" property is in a property list named "mandatories" in the
> userstore-config.jsp file in
> org.wso2.carbon.identity.user.store.configuration.ui component. It
> retrieves the mandatory properties list by calling
> the 
> UserStoreManagerRegistry.getUserStoreProperties(userStoreClass).getMandatoryProperties()
> method in user.core.
>
> In the backend, this "Disabled" property is a mandatory property and it is
> correct. In the UI, having the red color asterisk for the checkbox may
> confuse the user where it suggests like it is mandatory to select the
> checkbox.
>
> However we don't need to change the backend code since it is correct. In
> UI, in order to remove the asterisk, a solution would be to remove this
> property from mandatory properties list and adding it to optional
> properties list. Should we proceed with this approach ?
>
> Thanks
> Chanuka
>
> On Fri, Feb 13, 2015 at 10:36 PM, Tharindu Edirisinghe <[email protected]
> > wrote:
>
>> Hi Nirodha,
>>
>> Thanks for pointing this out. We'll get this fixed.
>>
>> Regards,
>> TharinduE
>>
>> On Fri, Feb 13, 2015 at 5:53 PM, Nirodha Pramod <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Please see the jira [1]. In the secondary userstore UI , the user is
>>> sort of asked to mark the newly created userstore as disabled, by making it
>>> mandatory with a checkbox. Usually in UI forms a single checkbox field is
>>> not marked as mandatory which makes no sense. So this disabled parameter
>>> should go as an optional.
>>>
>>> [1] https://wso2.org/jira/browse/IDENTITY-3048
>>>
>>> Thanks,
>>> Nirodha
>>>
>>> --
>>>
>>> *Nirodha Gallage*
>>> Senior Software Engineer, QA.
>>> WSO2 Inc.: http://wso2.com/
>>> Mobile: +94716429078
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Tharindu Edirisinghe
>> Software Engineer | WSO2 Inc
>> Identity Server Team
>> mobile : +94 775 181586
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chanuka Dissanayake
> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>
> Mobile: +94 71 33 63 596
> Email: [email protected]
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to