Re: [openstack-dev] [vitrage] about  "is_admin" in ctx

2017-05-02 Thread dong.wenjuan
Alexey J From: dong.wenj...@zte.com.cn [mailto:dong.wenj...@zte.com.cn] Sent: Friday, April 21, 2017 11:08 AM To: openstack-dev@lists.openstack.org Subject: [openstack-dev] [vitrage] about "is_admin" in ctx Hi all, I'm a little confused about the "is_am

Re: [openstack-dev] [vitrage] about  "is_admin" in ctx

2017-04-25 Thread Weyl, Alexey (Nokia - IL/Kfar Sava)
...@zte.com.cn] Sent: Friday, April 21, 2017 11:08 AM To: openstack-dev@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/ma

[openstack-dev] [vitrage] about  "is_admin" in ctx

2017-04-21 Thread dong.wenjuan
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