<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Got it. I will have a try. Thanks a lot.</div></div><div class="gmail_extra"><br clear="all"><div><div><span style="font-family:'courier new',monospace"><br>

</span></div><div><span style="font-family:'courier new',monospace">- Ray</span></div><font face="'courier new', monospace">Best Regards<br><br>CIeNET Technologies (Beijing) Co., Ltd</font><div><font face="'courier new', monospace">Technical Manager<br>

Email: <a href="mailto:qsun01185@cienet.com.cn" target="_blank">qsun01185@cienet.com.cn</a></font><div><font face="'courier new', monospace">Office Phone: +86-01081470088-7079<br>Mobile Phone: +86-13581988291</font></div>

</div></div>
<br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 1:52 PM, Kieran Spear <span dir="ltr"><<a href="mailto:kispear@gmail.com" target="_blank">kispear@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Ray,<br>
<div class="im"><br>
On 3 April 2013 19:41, Ray Sun <<a href="mailto:qsun01185@cienet.com.cn">qsun01185@cienet.com.cn</a>> wrote:<br>
><br>
> I am not sure this is the right place to discuss implementation. My colleague and I want to implement this feature:<br>
> <a href="https://blueprints.launchpad.net/horizon/+spec/define-flavor-for-project" target="_blank">https://blueprints.launchpad.net/horizon/+spec/define-flavor-for-project</a><br>
<br>
</div>Great!<br>
<div class="im"><br>
> Currently, we have two ways:<br>
> 1. We want to add a "public checkbox" in flavor editing page, and add a new step called "Flavor Access" to allow user to select the project for accessing the flavor. And there's no relationship between the "public checkbox" and "flavor access". That's means when user check the "public checkbox", it's useless to do any operation on "Flavor Access".<br>


> 2. Only add a "Flavor Access" Step at flavor editing page, and by default, we will choose all the projects for the specific flavor, so flavor's is_public will be always true if user don't do any operation in the database. If user remove one project from "Access List", we will update the flavor to private and update the project access list.<br>


<br>
</div>Best to make it obvious to the user what is happening. You might want<br>
to consider putting the public checkbox on the Flavor Access step,<br>
since that's where it seems to belong. In any case, make sure you<br>
disable the other Flavor Access controls when it is checked. And make<br>
it checked by default to retain current behaviour.<br>
<br>
Have a look at the Project/Edit Users control in the Admin dashboard.<br>
You should be able to reuse this for the Flavor Access page. Let me<br>
know if you have any questions.<br>
<br>
Cheers,<br>
Kieran<br>
<div class="im"><br>
<br>
><br>
><br>
> Please help. Thanks.<br>
><br>
> - Ray<br>
> Best Regards<br>
><br>
> CIeNET Technologies (Beijing) Co., Ltd<br>
> Technical Manager<br>
> Email: <a href="mailto:qsun01185@cienet.com.cn">qsun01185@cienet.com.cn</a><br>
> Office Phone: +86-01081470088-7079<br>
> Mobile Phone: <a href="tel:%2B86-13581988291" value="+8613581988291">+86-13581988291</a><br>
><br>
</div>> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
<br>
</blockquote></div><br></div>