<div dir="ltr">I guess that the rule "context_is_admin" might have some weird definition in your version. Can you check it?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 12:06 PM Rafael Weingärtner <<a href="mailto:rafaelweingartner@gmail.com">rafaelweingartner@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Can you check this one?<br><a href="https://review.opendev.org/c/openstack/cloudkitty/+/785132" target="_blank">https://review.opendev.org/c/openstack/cloudkitty/+/785132</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 12:01 PM Gaël THEROND <<a href="mailto:gael.therond@bitswalk.com" target="_blank">gael.therond@bitswalk.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi everyone!</div><div><br></div><div>Today I faced a weird situation with one of our cloud platforms using victoria release.</div><div><br></div><div>When trying to get a summary of projects rates would it be through Horizon or CLI using the admin user of the platform we've got the following error message:<br><br><a href="https://paste.opendev.org/show/bIgG6owrN9B2F3O7iqYG/" target="_blank">https://paste.opendev.org/show/bIgG6owrN9B2F3O7iqYG/</a></div><div><br></div><div>From my understanding of the default policies of cloudkitty, this error seems to be a bit odd as the admin user profile actually match the default rules.<br><br></div><div>At least as exposed in:<br><br><a href="https://opendev.org/openstack/cloudkitty/src/branch/stable/victoria/cloudkitty/common/policies/base.py" target="_blank">https://opendev.org/openstack/cloudkitty/src/branch/stable/victoria/cloudkitty/common/policies/base.py</a><br></div><div>and<br><a href="https://opendev.org/openstack/cloudkitty/src/branch/stable/victoria/cloudkitty/common/policies/v1/report.py" target="_blank">https://opendev.org/openstack/cloudkitty/src/branch/stable/victoria/cloudkitty/common/policies/v1/report.py</a></div><div><br></div><div>Unless I misunderstood something (please correct me if I'm wrong), it's supposed to at least be ok with the matching.<br></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr">Rafael Weingärtner</div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Rafael Weingärtner</div></div>