mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-18 21:17:08 +00:00
Clarify set/regex options in relevant queries.
Set logic is used except in regex matching.
This commit is contained in:
parent
e379eea919
commit
09554705c1
@ -40,7 +40,8 @@ class RoleQuery(compquery.ComponentQuery):
|
||||
match. Otherwise, any intersection
|
||||
will match.
|
||||
types_regex If true, regular expression matching
|
||||
will be used on the type names.
|
||||
will be used on the type names instead
|
||||
of set logic.
|
||||
"""
|
||||
|
||||
self.policy = policy
|
||||
@ -83,7 +84,8 @@ class RoleQuery(compquery.ComponentQuery):
|
||||
types Name to match the role's types.
|
||||
|
||||
Keyword Options:
|
||||
regex If true, regular expression matching will be used.
|
||||
regex If true, regular expression matching will be used
|
||||
instead of set logic.
|
||||
equal If true, the type set of the role
|
||||
must equal the attributes criteria to
|
||||
match. If false, any intersection in the
|
||||
|
@ -44,7 +44,8 @@ class TypeQuery(compquery.ComponentQuery):
|
||||
match. Otherwise, any intersection
|
||||
will match.
|
||||
attrs_regex If true, regular expression matching
|
||||
will be used on the attribute names.
|
||||
will be used on the attribute names instead
|
||||
of set logic.
|
||||
"""
|
||||
|
||||
self.policy = policy
|
||||
@ -115,7 +116,8 @@ class TypeQuery(compquery.ComponentQuery):
|
||||
alias Name to match the component's attributes.
|
||||
|
||||
Keyword Options:
|
||||
regex If true, regular expression matching will be used.
|
||||
regex If true, regular expression matching will be used
|
||||
instead of set logic.
|
||||
equal If true, the attribute set of the type
|
||||
must equal the attributes criteria to
|
||||
match. If false, any intersection in the
|
||||
|
@ -40,7 +40,8 @@ class UserQuery(compquery.ComponentQuery):
|
||||
match. Otherwise, any intersection
|
||||
will match.
|
||||
roles_regex If true, regular expression matching
|
||||
will be used on the role names.
|
||||
will be used on the role names instead
|
||||
of set logic.
|
||||
"""
|
||||
|
||||
self.policy = policy
|
||||
@ -78,7 +79,8 @@ class UserQuery(compquery.ComponentQuery):
|
||||
roles Name to match the component's attributes.
|
||||
|
||||
Keyword Options:
|
||||
regex If true, regular expression matching will be used.
|
||||
regex If true, regular expression matching will be used
|
||||
instead of set logic.
|
||||
equal If true, the role set of the user
|
||||
must equal the attributes criteria to
|
||||
match. If false, any intersection in the
|
||||
|
Loading…
Reference in New Issue
Block a user