On 6/12/2012 7:48 AM, Petr Vobornik wrote:
This is a continuation of effort which transforms status widgets with
buttons executing actions to separate status widget and action panels.
This patch strips certificate status widget of its buttons and separates
the actions to their own objects. Appropriate modifications are taken in
host and service details facets.

New certificate loader, facet policy and evaluator are introduced to
make actions and status widget independent. On facet load event new
certificate facet policy loads a certificate from result. Unfortunately
results don't contain revocation reason so it also executes additional
cert-show command to get the revocation reason. Policy store the
certifacete to facet. It raises the certifacet_loaded event to notify
certificate evaluator and status widget. Status widget updates its
state. Certificate evaluator updates state and actions get disabled or
enabled.

https://fedorahosted.org/freeipa/ticket/2250

I'm testing using self-signed CA. When I open the host/service details page there's a JS error at certificate.js:928 (undefined status_revoked), so the page seems to hang and looks blank. In the old code the status_revoked panel will only be created if you use Dogtag CA (the IPA.cert.is_selfsign() will return false). This check might not be necessary anymore because you can just hide the panel.

--
Endi S. Dewata


_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to