Restrict user search/import to cf admins
authorMagnus Hagander <magnus@hagander.net>
Tue, 21 Feb 2023 14:19:01 +0000 (15:19 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 21 Feb 2023 14:19:01 +0000 (15:19 +0100)
commitfb632f22912fd30df3cdfc4c7c34a2293cafe885
treea98ce3214a952a0ef2bb09e83483731169ffabc9
parent65eef28f69f6b20b466d0754e37c8d234c9ec825
Restrict user search/import to cf admins

All users can still enumerate local users, but the functionality to
search the central database is restricted to admins only.

Reported by Benjamin Flesch
pgcommitfest/commitfest/ajax.py
pgcommitfest/commitfest/templates/base_form.html