Generate the policy file from defaults in code:
oslopolicy-policy-generator --config-dir /etc/designate/ --output-file policy.json --namespace designate
Check what passes and what does not.
oslopolicy-checker --access ./auth_v3_token_admin.json --policy ./policy.json
We will need to check policy.json with users in two different domains:
Create auth_v3_ token_admin. json based on https:/ /github. com/openstack/ oslo.policy/ blob/master/ sample_ data/auth_ v3_token_ admin.json.
Generate the policy file from defaults in code: policy- generator --config-dir /etc/designate/ --output-file policy.json --namespace designate v3_token_ admin.json --policy ./policy.json
oslopolicy-
Check what passes and what does not.
oslopolicy-checker --access ./auth_