----- Original Message ----- > From: "Brian Waldon" <[email protected]> > To: "[email protected] ([email protected])" > <[email protected]> > 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?
My vote is that we make Glance case-insensitive. I think I may be the one that changed Nova to be case-insensitive as well as I had some real head scratchers with 'admin' vs. 'Admin' at one point. To me allowing roles will just get too confusing if we allow case sensitive comparisons. Dan > > Brian Waldon > > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

