Most of nova is configurable via policy.json, but there is the issue with context.is_admin checks that still exist in a few places. We definitely need to modify that.<div><br></div><div>Joshua, the idea is that policy.json will ultimately be managed in keystone as well. Currently the policy.json is checked for modifications, so it would be possible to throw it on shared storage and modify it for every node at once without having to restart the nodes.  This is an interim solution until we allow for creating and retrieving policies inside of keystone. </div>
<div><br></div><div>Vish<br><br><div class="gmail_quote">On Thu, May 10, 2012 at 7:13 PM, Joshua Harlow <span dir="ltr"><<a href="mailto:harlowja@yahoo-inc.com" target="_blank">harlowja@yahoo-inc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">I was also wondering about this, it seems there are lots of policy.json files with hard coded roles in them, which is weird since keystone supports the creation of roles and such, but if u create a role which isn’t in a policy.json then u have just caused yourself a problem, which isn’t very apparent...<div>
<div class="h5"><br>
<br>
On 5/10/12 2:32 PM, "Salman A Baset" <<a href="http://sabaset@us.ibm.com" target="_blank">sabaset@us.ibm.com</a>> wrote:<br>
<br>
</div></div></span></font><div><div class="h5"><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">It seems that 'admin' role is hard-coded cross nova and horizon. As a result if I want to define 'myadmin' role, and grant it all the admin privileges, it does not seem possible. Is this a recognized limitation? <br>

<br>
Further, is there some good documentation on policy.json for nova, keystone, and glance?<br>
<br>
Thanks.<br>
<br>
Best Regards,<br>
<br>
Salman A. Baset<br>
Research Staff Member, IBM T. J. Watson Research Center<br>
Tel: <a href="tel:%2B1-914-784-6248" value="+19147846248" target="_blank">+1-914-784-6248</a><br>
<br>
<br>
</span></font></blockquote>
</div></div></div>


<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>