Lines Matching defs:Constraint
29 """Determine if this is a regular or MLS constraint/validatetrans."""
42 """Validate constraint rule types."""
44 raise exception.InvalidConstraintType("{0} is not a valid constraint type.".format(t))
50 """Factory function for creating constraint objects."""
55 return Constraint(policy, sym, "mlsconstrain")
60 return Constraint(policy, sym, "constrain")
70 """Base class for constraint rules."""
192 Internal generator for getting users/roles/types in a constraint
242 """Object class for this constraint."""
264 class Constraint(BaseConstraint):
266 """A constraint rule (constrain/mlsconstrain)."""
284 """The constraint's permission set."""