diff options
author | Zuul <zuul@review.opendev.org> | 2021-10-25 14:02:34 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-10-25 14:02:34 +0000 |
commit | cce180d37237f275be7ffb7179893ee475c8a561 (patch) | |
tree | f3d6b4fad2df63118f44b709f6740e2dc3e00f54 | |
parent | 4757688ecf5585f5e87795a3efe3c8ea48df0c7b (diff) | |
parent | fb51982f80572c73fc8dcaf2818a0ad31663a11e (diff) | |
download | oslo-policy-cce180d37237f275be7ffb7179893ee475c8a561.tar.gz |
Merge "Add scope_types attribute to the BaseCheck class"
-rw-r--r-- | oslo_policy/_checks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oslo_policy/_checks.py b/oslo_policy/_checks.py index 3d00e6f..5246c2a 100644 --- a/oslo_policy/_checks.py +++ b/oslo_policy/_checks.py @@ -83,6 +83,8 @@ def _check(rule, target, creds, enforcer, current_rule): class BaseCheck(metaclass=abc.ABCMeta): """Abstract base class for Check classes.""" + scope_types = None + @abc.abstractmethod def __str__(self): """String representation of the Check tree rooted at this node.""" |