<p>Sure - The most obvious reason is human error leading to a security hole. E.g. Accidently assigning a user "Admin" when you really meant to assign "admin".</p>
<p>Treating roles as case insensitive helps prevent this kind of human error.</p>
<p>What advantages does allowing distinct "Admin" and "admin" roles provide?</p>
<p>Thanks,<br>
Kiall</p>
<p>Sent from my phone.</p>
<div class="gmail_quote">On Jun 8, 2012 11:20 p.m., "Brian Waldon" <<a href="mailto:brian.waldon@rackspace.com">brian.waldon@rackspace.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Can you explain why?<div><br><div><div>On Jun 8, 2012, at 3:18 PM, Kiall Mac Innes wrote:</div><br><blockquote type="cite"><p>No, I'm suggesting they should all be treated as a single role. I.e. roles should be case insensitive.<br>
</p><p>Thanks,<br>
Kiall</p><p>Sent from my phone.</p>
<div class="gmail_quote">On Jun 8, 2012 11:16 p.m., "Brian Waldon" <<a href="mailto:brian.waldon@rackspace.com" target="_blank">brian.waldon@rackspace.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">I'm suggesting we support only a single representation of a role across all projects: 'admin', 'Admin', and 'admIn' would be three separate roles.<div><br></div>

<div>Are you suggesting otherwise?</div><div><br></div><div><div><div>On Jun 8, 2012, at 3:14 PM, Kiall Mac Innes wrote:</div><br><blockquote type="cite"><p>What's the argument for allowing both, for example, "admin", "Admin" and "admIn" roles?</p>
<p>This seems like one place where case insensitive makes the most sense.</p><p>Thanks,<br>
Kiall</p><p>Sent from my phone.</p>
<div class="gmail_quote">On Jun 8, 2012 11:01 p.m., "Joseph Suh" <<a href="mailto:jsuh@isi.edu" target="_blank">jsuh@isi.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I'd vote case-sensitive.<br>
<br>
Joseph<br>
<br>
----<br>
(w) <a href="tel:703-248-6160" value="+17032486160" target="_blank">703-248-6160</a><br>
(c) <a href="tel:571-340-2434" value="+15713402434" target="_blank">571-340-2434</a><br>
(f) <a href="tel:703-812-3712" value="+17038123712" target="_blank">703-812-3712</a><br>
3811 N. Fairfax Drive Suite 200<br>
Arlington, VA, 22203, USA<br>
<a href="http://www.east.isi.edu/~jsuh" target="_blank">http://www.east.isi.edu/~jsuh</a><br>
<br>
----- Original Message -----<br>
From: "Brian Waldon" <<a href="mailto:brian.waldon@rackspace.com" target="_blank">brian.waldon@rackspace.com</a>><br>
To: "<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a> (<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>)" <<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>><br>



Sent: Friday, June 8, 2012 5:50:45 PM<br>
Subject: [Openstack] Comparing roles - case (in)sensitivity<br>
<br>
<br>
<br>
tl;dr - Should we compare roles as case-sensitive or case-insensitive? I vote case-sensitive.<br>
<br>
This bug was recently filed in Glance: <a href="https://bugs.launchpad.net/glance/+bug/1010519" target="_blank">https://bugs.launchpad.net/glance/+bug/1010519</a> . It points out that Nova and Keystone are both case-insensitive when it comes to role comparison, yet Glance *is* case sensitive. I'm in favor of moving other projects to a case-sensitive approach for two main reasons:<br>



<br>
<br>
1) If a role is a string, and comparing strings is inherently case-sensitive, then role comparison would logically be case-sensitive<br>
2) I get to do less work<br>
<br>
<br>
<br>
Thoughts?<br>
<br>
<br>
Brian Waldon<br>
<br>
<br>
<br>
<br>
<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" target="_blank">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>
_______________________________________________<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" target="_blank">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>
</blockquote></div>
</blockquote></div><br></div></div></blockquote></div>
</blockquote></div><br></div></div></blockquote></div>