Chris PeBenito
8e082f70cf
Replace license text in sources with SPDX license indentifiers.
...
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2021-11-20 14:12:15 -05:00
Chris PeBenito
e6fc383eee
ConstraintExpression: Move constraint/validatetrans expression to new class.
...
This represents the constraint expression and simplifies use of the
expression.
2018-08-31 21:09:14 -04:00
Chris PeBenito
87f28f850f
setoolsgui: Use symbol name attribute where now possible.
2018-08-18 13:35:09 -04:00
Chris PeBenito
2b4d69d42e
Revise structure to make policyrep a module instead of a subpackage.
...
The setools.policyrep.exception module merged into setools.exception.
2018-08-11 20:46:01 -04:00
Chris PeBenito
9648d013a2
Implement an enumeration for constraint rule type.
2016-09-03 16:44:13 -04:00
Chris PeBenito
da8a238ffc
apol: Fix model headers so extra columns aren't added.
...
The section number (column header) is -1 when the section is hidden. The
defaultdict use would cause extra columns to be created since the column
count is based on the size of the headers object and -1 would add a new
entry. Change headers to lists.
2016-06-08 07:26:32 -04:00
Chris PeBenito
61613cf3f4
apol: adjust models to handle invalid indices in data().
...
Infrequently data() is called with an invalid index and then apol crashes.
2016-04-21 10:07:12 -04:00
Chris PeBenito
27bc09c0e3
apol: Implement constraint tab
...
Closes #78
2016-04-05 13:37:55 -04:00