documentation does not explain how http/s rule URLs are built
Bug #1828737 reported by
Doug Hellmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.policy |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
It turns out that values from the target of a policy check can be interpolated into the URL value to build a custom URL. For example, if target includes "resource_type" with a value of "my_resource" and the rule is https:/
We need to document that.
It would be nice if we could document some common values from the target dicts as well.
Changed in oslo.policy: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
To post a comment you must log in.
See https:/ /opendev. org/openstack/ oslo.policy/ src/branch/ master/ oslo_policy/ _external. py#L36 and https:/ /opendev. org/openstack/ oslo.policy/ src/branch/ master/ oslo_policy/ _external. py#L75 for the relevant implementations.