Commit Graph

858 Commits

Author SHA1 Message Date
Chris PeBenito
ef7b9add4c Raise exception for None being returned from qpol.
The C code returns NULL for cases such as getting the conditional for
unconditional rules.  The SWIG passes that up as None rather than
raising exceptions.

Update TERule for this change.
2014-07-24 09:33:03 -04:00
Chris PeBenito
de06014e0f Restructure TERule __str__
Eliminate instance check and try common case of getting perms; catch
exception for type_* rules case.
2014-07-24 09:15:23 -04:00
Chris PeBenito
3cdb59cdd0 Fix rolequery unit test for PEP8. 2014-07-21 13:45:09 -04:00
Chris PeBenito
7a571230e9 Add missing libapol rolequery import. 2014-07-21 13:42:10 -04:00
Chris PeBenito
917327f345 Implement role query. 2014-07-21 13:26:30 -04:00
Chris PeBenito
763d59db4d Fix user statement rendering issues. 2014-07-17 09:52:16 -04:00
Chris PeBenito
8ea6da9c2f Add user implementation and user query.
TODOL: MLS default level and range criteria
2014-07-17 09:39:06 -04:00
Chris PeBenito
39505d0295 Initial public release. 2014-07-08 14:28:55 -04:00