<div class="zcontentRow"> <p>Hi Alexey,</p><p><br></p><p>Sorry for reply with a delay.</p><p>I just saw this mail.</p><p>It's OK, not a emergency issue. :)</p><p><br></p><p>BR,</p><p>dwj<br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><div class="zMailSign"></div><div class="zMailFrom"></div><div><div class="zhistoryRow" style="display:block"><div class="zhistoryDes" style="width: 100%; height: 28px; line-height: 28px; background-color: #E0E5E9; color: #1388FF; text-align: center;" language-data="HistoryOrgTxt">Original Mail</div><div id="zwriteHistoryContainer"><div class="control-group zhistoryPanel"><div class="zhistoryHeader" style="padding: 8px; background-color: #F5F6F8;"><div><strong language-data="HistorySenderTxt">Sender: </strong><span class="zreadUserName"> <alexey.weyl@nokia.com>;</span></div><div><strong language-data="HistoryTOTxt">To: </strong><span class="zreadUserName" style="display: inline-block;"> <openstack-dev@lists.openstack.org>;</span></div><div><strong language-data="HistoryDateTxt">Date: </strong><span class="">2017/04/25 21:09</span></div><div><strong language-data="HistorySubjectTxt">Subject: </strong><span class="zreadTitle"><strong>Re: [openstack-dev] [vitrage] about  "is_admin" in ctx</strong></span></div></div><p class="zhistoryContent"><br></p><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style type="text/css">#zreadTextPanel #zreadTextPanel <!-- /* Font Definitions */ @font-face {font-family:Wingdings;   panose-1:5 0 0 0 0 0 0 0 0 0;}  #zreadTextPanel #zreadTextPanel @font-face {font-family:"Cambria Math";       panose-1:2 4 5 3 5 4 6 3 2 4;}  #zreadTextPanel #zreadTextPanel @font-face {font-family:Calibri;        panose-1:2 15 5 2 2 2 4 3 2 4;}  #zreadTextPanel #zreadTextPanel /* Style Definitions */ p.MsoNormal, #zreadTextPanel  #zreadTextPanel  li.MsoNormal, #zreadTextPanel  #zreadTextPanel  div.MsoNormal {margin:0in;      margin-bottom:.0001pt;  font-size:12.0pt;       font-family:"Times New Roman",serif;}  #zreadTextPanel #zreadTextPanel a:link, #zreadTextPanel  #zreadTextPanel  span.MsoHyperlink {mso-style-priority:99;    color:blue;     text-decoration:underline;}  #zreadTextPanel #zreadTextPanel a:visited, #zreadTextPanel  #zreadTextPanel  span.MsoHyperlinkFollowed {mso-style-priority:99;     color:purple;   text-decoration:underline;}  #zreadTextPanel #zreadTextPanel p {mso-style-priority:99;  mso-margin-top-alt:auto;        margin-right:0in;       mso-margin-bottom-alt:auto;     margin-left:0in;        font-size:12.0pt;       font-family:"Times New Roman",serif;}  #zreadTextPanel #zreadTextPanel p.msonormal0, #zreadTextPanel  #zreadTextPanel  li.msonormal0, #zreadTextPanel  #zreadTextPanel  div.msonormal0 {mso-style-name:msonormal;     mso-margin-top-alt:auto;        margin-right:0in;       mso-margin-bottom-alt:auto;     margin-left:0in;        font-size:12.0pt;       font-family:"Times New Roman",serif;}  #zreadTextPanel #zreadTextPanel span.EmailStyle19 {mso-style-type:personal-reply;      font-family:"Calibri",sans-serif;     color:windowtext;}  #zreadTextPanel #zreadTextPanel .MsoChpDefault {mso-style-type:export-only;         font-family:"Calibri",sans-serif;}  #zreadTextPanel #zreadTextPanel @page WordSection1 {size:8.5in 11.0in;    margin:1.0in 1.0in 1.0in 1.0in;}  #zreadTextPanel #zreadTextPanel div.WordSection1 {page:WordSection1;}  #zreadTextPanel #zreadTextPanel --></style><!--[if gte mso 9]><xml><o:shapedefaults v:ext="edit" spidmax="1026" ></o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1" ></o:idmap></o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi Wenjuan,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">This is a good question, I need to check it a bit more thoroughly.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">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.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Sorry for the delay.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Alexey </span><span style="font-size:11.0pt;font-family:Wingdings">J</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><strong><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></strong><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> dong.wenjuan@zte.com.cn [mailto:dong.wenjuan@zte.com.cn] <br> <strong>Sent:</strong> Friday, April 21, 2017 11:08 AM<br> <strong>To:</strong> openstack-dev@lists.openstack.org<br> <strong>Subject:</strong> [openstack-dev] [vitrage] about  "is_admin" in ctx<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><div><p>Hi all,<o:p></o:p></p><p><span style="font-family:"Arial",sans-serif;color:black;background:white">I'm a little confused about the "is_amdin" in ctx. </span><o:p></o:p></p><p><span style="font-family:"Arial",sans-serif;color:black;background:white">From the hook(</span><a href="https://github.com/openstack/vitrage/blob/master/vitrage/api/hooks.py#L73" target="_blank"><span style="font-family:"Arial",sans-serif;color:#0654AC;background:white;text-decoration:none">https://github.com/openstack/vitrage/blob/master/vitrage/api/hooks.py#L73</span></a><span style="font-family:"Arial",sans-serif;color:black;background:white">),  "is_admin" means admin user,.</span><o:p></o:p></p><p><span style="font-family:"Arial",sans-serif;color:black;background:white">But we define the macro as "admin project"( </span><a href="https://github.com/openstack/vitrage/blob/master/vitrage/api_handler/apis/base.py#L94" target="_blank">https://github.com/openstack/vitrage/blob/master/vitrage/api_handler/apis/base.py#L94</a><span style="font-family:"Arial",sans-serif;color:black;background:white">  ). But in my opinion,  it should be the admin role. Correct me if i'm wrong :).</span><o:p></o:p></p><p><o:p> </o:p></p><p><span style="font-family:"Arial",sans-serif;color:black;background:white">BR,</span><o:p></o:p></p><p><span style="font-family:"Arial",sans-serif;color:black;background:white">dwj</span><o:p></o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p><p><o:p> </o:p></p></div></div></div></div><p><br></p></div></div></div></div><p><br></p> </div>