[Freeipa-devel] [PATCH] 0001-Added-Services-tab.patch

Adam Young ayoung at redhat.com
Wed Sep 8 23:27:20 UTC 2010


On 09/08/2010 06:07 PM, Endi Sukma Dewata wrote:
> Hi Adam,
>
> Thanks for the review. Attached is the revised patch.
>
> ----- "Adam Young"<ayoung at redhat.com>  wrote:
>    
>> I get an error
>> "associate failure" when clicking the Enroll Button on the
>> associations page. You need to add sampledata/service_add_host.json
>>      
> This is fixed, I forgot to do git add.
>
>    
>> Whitespace issues in b/install/static/sampledata/service_add.json
>>      
> This is fixed, they are coming from the IPA server.
>
>    
>> When I tested on the live server, add failed silently. We need to
>> report to the user the error message. This is something that we don't
>> do on other pages yet, but we need to. The success closure needs to
>> have code along the lines of:
>>
>> if (result.error){
>> // report errors
>> }else{
>> //current functionality
>> }
>>
>> For now just populate an alert message. I'll add a task to integrate
>> per field error reporting into the add and details pages.
>>      
> This is fixed in add.js.
>
>    
>> Since the principal is of the form service/host, we should use two
>> fields for these. I think that the service tab should be a combo-box:
>> free form text is allowed, but it should be prepopulated with known
>> services like httpd, ftpd ,etc. Since the host portion of the
>> principal has to be a registered host in the system, I suspect we need
>> to use the association style finder for that. For now make it a text
>> box with the label of Host name.
>>      
> Per our discussion, I'm submitting a patch with a single text field for
> principal. I will create another patch to refactor the EntityBuilder
> class and subclass it to combine the service&  host fields into principal.
>
> As we discovered, the standard HTML combobox is not editable and 3rd party
> editable comboboxes have some issues. We will address this next time.
>
>    
>> Pavel and I have been using a patch labeling scheme
>> <username>-freeipa-<sequence>-description.patch. I've renamed this one
>> to:
>>
>> edewata-freeipa-0001-Added-Services-tab.patch
>>
>> When you update it, please name the new one:
>> edewata-freeipa-0001-2-Added-Services-tab.patch
>>      
> The new patch has been renamed as such.
>
> Thanks!
>
> --
> Endi S. Dewata
>    
ACK.
Pushed to master




More information about the Freeipa-devel mailing list