summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-10-25 14:02:34 +0000
committerGerrit Code Review <review@openstack.org>2021-10-25 14:02:34 +0000
commitcce180d37237f275be7ffb7179893ee475c8a561 (patch)
treef3d6b4fad2df63118f44b709f6740e2dc3e00f54
parent4757688ecf5585f5e87795a3efe3c8ea48df0c7b (diff)
parentfb51982f80572c73fc8dcaf2818a0ad31663a11e (diff)
downloadoslo-policy-cce180d37237f275be7ffb7179893ee475c8a561.tar.gz
Merge "Add scope_types attribute to the BaseCheck class"
-rw-r--r--oslo_policy/_checks.py2
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."""