53845d84e7
Old versions of oslo_context do not include rules in to_dict() However roles are required for newer versions of oslo_policy to operate and resolve 'role:xxx' rules. Since minimal version for oslo_context is 0.2.0 and commit, that adds roles has been added only in 2.2.0 we should support old versions of oslo_context with newer version. Change-Id: If35726613bec5d342bad72b542215ec8e5c096a2 Closes-Bug: #1552291
6 lines
212 B
YAML
6 lines
212 B
YAML
---
|
|
fixes:
|
|
- RequestContext now serialises it's roles. This should allow murano to
|
|
work correctly (and allow rules like "role:xxx" in policy.json)
|
|
when using oslo.context prior to 2.2.0 and oslo.policy
|