I agree with Guang, tweaking the policy.json won't be enough.
The problem is in the rule "domain_id:%(target.project.domain_id)s", the value won't get set before the policy is enforced.
This would involve more work to enhance the @filterprotected decorator to work for the case mentioned.
I agree with Guang, tweaking the policy.json won't be enough.
The problem is in the rule "domain_ id:%(target. project. domain_ id)s", the value won't get set before the policy is enforced.
This would involve more work to enhance the @filterprotected decorator to work for the case mentioned.