[Openstack] Comparing roles - case (in)sensitivity

Brian Waldon brian.waldon at rackspace.com
Fri Jun 8 22:20:42 UTC 2012


Can you explain why?

On Jun 8, 2012, at 3:18 PM, Kiall Mac Innes wrote:

> No, I'm suggesting they should all be treated as a single role. I.e. roles should be case insensitive.
> 
> Thanks,
> Kiall
> 
> Sent from my phone.
> 
> On Jun 8, 2012 11:16 p.m., "Brian Waldon" <brian.waldon at rackspace.com> wrote:
> I'm suggesting we support only a single representation of a role across all projects: 'admin', 'Admin', and 'admIn' would be three separate roles.
> 
> Are you suggesting otherwise?
> 
> On Jun 8, 2012, at 3:14 PM, Kiall Mac Innes wrote:
> 
>> What's the argument for allowing both, for example, "admin", "Admin" and "admIn" roles?
>> 
>> This seems like one place where case insensitive makes the most sense.
>> 
>> Thanks,
>> Kiall
>> 
>> Sent from my phone.
>> 
>> On Jun 8, 2012 11:01 p.m., "Joseph Suh" <jsuh at isi.edu> wrote:
>> I'd vote case-sensitive.
>> 
>> Joseph
>> 
>> ----
>> (w) 703-248-6160
>> (c) 571-340-2434
>> (f) 703-812-3712
>> 3811 N. Fairfax Drive Suite 200
>> Arlington, VA, 22203, USA
>> http://www.east.isi.edu/~jsuh
>> 
>> ----- Original Message -----
>> From: "Brian Waldon" <brian.waldon at rackspace.com>
>> To: "openstack at lists.launchpad.net (openstack at lists.launchpad.net)" <openstack at lists.launchpad.net>
>> Sent: Friday, June 8, 2012 5:50:45 PM
>> Subject: [Openstack] Comparing roles - case (in)sensitivity
>> 
>> 
>> 
>> tl;dr - Should we compare roles as case-sensitive or case-insensitive? I vote case-sensitive.
>> 
>> This bug was recently filed in Glance: https://bugs.launchpad.net/glance/+bug/1010519 . 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:
>> 
>> 
>> 1) If a role is a string, and comparing strings is inherently case-sensitive, then role comparison would logically be case-sensitive
>> 2) I get to do less work
>> 
>> 
>> 
>> Thoughts?
>> 
>> 
>> Brian Waldon
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120608/d765d602/attachment.html>


More information about the Openstack mailing list