pstore icon indicating copy to clipboard operation
pstore copied to clipboard

Uppercase in username breaks things

Open wdoekes opened this issue 7 years ago • 0 comments

$ pstore someobj ^user-OLD
['user-old']   # <-- 'revoke' in pstore
dict_keys(['alex', 'user-OLD', 'herman', 'jordi', 'ronald', 'walter'])
user error: one or more users cannot be revoked

Probably goes sour in other places as well. Use django-model-validator to ensure that username is lowercase?

wdoekes avatar Mar 26 '18 11:03 wdoekes