[openstack-dev] [vitrage] about "is_admin" in ctx
Weyl, Alexey (Nokia - IL/Kfar Sava)
alexey.weyl at nokia.com
Tue Apr 25 12:09:55 UTC 2017
Hi Wenjuan,
This is a good question, I need to check it a bit more thoroughly.
It’s just that at the moment we are preparing for the Boston Openstack Summit and thus it will take me a bit more time to answer that.
Sorry for the delay.
Alexey ☺
From: dong.wenjuan at zte.com.cn [mailto:dong.wenjuan at zte.com.cn]
Sent: Friday, April 21, 2017 11:08 AM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [vitrage] about "is_admin" in ctx
Hi all,
I'm a little confused about the "is_amdin" in ctx.
From the hook(https://github.com/openstack/vitrage/blob/master/vitrage/api/hooks.py#L73), "is_admin" means admin user,.
But we define the macro as "admin project"( https://github.com/openstack/vitrage/blob/master/vitrage/api_handler/apis/base.py#L94 ). But in my opinion, it should be the admin role. Correct me if i'm wrong :).
BR,
dwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170425/8b55501e/attachment.html>
More information about the OpenStack-dev
mailing list