5ac1f36 WebUI: hide buttons in certificate widget according to acl

2 files Authored by pvomacka 7 years ago, Committed by mbabinsk 7 years ago,
    WebUI: hide buttons in certificate widget according to acl
    
    When user is logged in and opens details page of another user there should not
    be visible button for adding new certificate and also the option in action menu
    for deleting certificate should be grayed out.
    
    This is achieved by adding custom field for certificates widget, which is able to
    read ACLs from result of user-show and not from cert-find result.
    
    https://fedorahosted.org/freeipa/ticket/6341
    
    Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>