From bc88d3514cc7de4dfbb0371059e4282d06935c87 Mon Sep 17 00:00:00 2001 From: Curtis Castrapel Date: Wed, 22 Aug 2018 13:17:33 -0700 Subject: [PATCH] Revert "Merge pull request #1589 from castrapel/issue_1570_ignorecasev2" This reverts commit a21b71a0e209fd32cf07c3e2f5ffb9ecd5250de0, reversing changes made to 075b18e5dbf11ed16d69a7cd620c577942d85010. --- lemur/auth/permissions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lemur/auth/permissions.py b/lemur/auth/permissions.py index 68c48773..e6d14408 100644 --- a/lemur/auth/permissions.py +++ b/lemur/auth/permissions.py @@ -29,9 +29,6 @@ class CertificatePermission(Permission): needs = [RoleNeed('admin'), RoleNeed(owner), RoleNeed('creator')] for r in roles: needs.append(CertificateOwnerNeed(str(r))) - # Backwards compatibility with mixed-case role names - if str(r) != str(r).lower(): - needs.append(CertificateOwnerNeed(str(r).lower())) super(CertificatePermission, self).__init__(*needs)