clojars / clojars-web

A community repository for open-source Clojure libraries
https://clojars.org
Eclipse Public License 1.0
468 stars 114 forks source link

Add self-service group verification #852

Closed tobias closed 1 year ago

tobias commented 1 year ago

Fix typo

Add util for self-verification of groups

Add self-service TXT-based group verification

This will allow a user to self-verify a group that is reverse-domain based by setting the correct DNS TXT record.

Add util for self-verification of subgroups

Add self-service parent-based group verification

This will allow a user to self-verify a group that is a subgroup of an already verified group.

Add util for self-verification of VCS-based groups

Refactor common verification logic

Add self-service VCS-based group verification

This will allow a user to self-verify groups that are based on a VCS organization.

Email admins for group verification attempts

This will allow us to track verifications for a bit to see how the system is working.

This implements #853.

tobias commented 1 year ago

Here are some screenshots of the feature. All three of the verification forms are on one page.

Here is each form with the help expanded:

image

image

image

Here are some of the error responses:

image

image

image

image

image

image

And, finally, some successful responses:

image

image

image

tobias commented 1 year ago

Hi @danielcompton - I've updated this PR based on your feedback. Do you mind taking another look? Thanks!