[SSSD] [PATCH] HBAC rule validation Python bindings

Stephen Gallagher sgallagh at redhat.com
Mon Aug 1 11:51:05 UTC 2011


On Mon, 2011-08-01 at 13:47 +0200, Jakub Hrozek wrote:
> On 07/31/2011 10:24 AM, Jakub Hrozek wrote:
> > Second part of https://fedorahosted.org/sssd/ticket/943
> > 
> > Must be applied on top of Stephen's validation patch for the library
> > 
> 
> As discussed on IRC with Alexander and Stephen it is better to return a
> set of the constants the library exposes rather than strings.
> 
> Should we add a separate function similar to hbac_error_string to
> translate them into something human readable or shall we handle the
> translation elsewhere?

The library shouldn't be responsible for this. That's presentation, not
evaluation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110801/bfa4f6e5/attachment.sig>


More information about the sssd-devel mailing list