summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oslo_policy/policy.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/oslo_policy/policy.py b/oslo_policy/policy.py
index 1736e98..b26f6cd 100644
--- a/oslo_policy/policy.py
+++ b/oslo_policy/policy.py
@@ -706,8 +706,12 @@ class Enforcer(object):
:param rule: The rule to evaluate.
:type rule: string or :class:`BaseCheck`
- :param dict target: As much information about the object being operated
- on as possible.
+ :param dict target: As much information about the object being
+ operated on as possible. The target
+ argument should be a dict instance or an
+ instance of a class that fully supports
+ the Mapping abstract base class and deep
+ copying.
:param dict creds: As much information about the user performing the
action as possible.
:param do_raise: Whether to raise an exception or not if check