Commit Graph

13 Commits

Author SHA1 Message Date
Chris PeBenito
86b67ca96a Initial constraints implementation. 2014-08-22 08:44:58 -04:00
Chris PeBenito
09554705c1 Clarify set/regex options in relevant queries.
Set logic is used except in regex matching.
2014-08-01 09:00:07 -04:00
Chris PeBenito
e379eea919 Misc PEP 8 fixes. 2014-08-01 08:58:31 -04:00
Chris PeBenito
997be5787b Implement object class and commons queries. 2014-08-01 08:56:29 -04:00
Chris PeBenito
a15c7ffd9b Change commons permission from list to set.
Order isn't relevant.
2014-08-01 08:50:42 -04:00
Chris PeBenito
c419b9c3f0 Implement ObjClass and Common classes. 2014-07-24 09:37:30 -04:00
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
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