Revert "Merge pull request #1589 from castrapel/issue_1570_ignorecasev2"
This reverts commit a21b71a0e209fd32cf07c3e2f5ffb9ecd5250de0, reversing changes made to 075b18e5dbf11ed16d69a7cd620c577942d85010.
This commit is contained in:
parent
a21b71a0e2
commit
bc88d3514c
@ -29,9 +29,6 @@ class CertificatePermission(Permission):
|
|||||||
needs = [RoleNeed('admin'), RoleNeed(owner), RoleNeed('creator')]
|
needs = [RoleNeed('admin'), RoleNeed(owner), RoleNeed('creator')]
|
||||||
for r in roles:
|
for r in roles:
|
||||||
needs.append(CertificateOwnerNeed(str(r)))
|
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)
|
super(CertificatePermission, self).__init__(*needs)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user