Set the verified_on flag for IAddress through the REST API

Bug #1054730 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
High
Barry Warsaw

Bug Description

IAddress.verified_on is how the core knows whether the registered address has been verified or not. Because Postorius supports registration via BrowserID, and by definition a BrowserID email address must be verified, we want to allow Postorius to set the verified_on field via the REST API.

This probably won't be a direct value setting. Instead, I think you want to POST true or false to .../<email address hidden>/verified and that will set IAddresses.verified_on to now() or to None.

Tags: mailman3 rest
Revision history for this message
Barry Warsaw (barry) wrote :

POST to ../addresses/<email>/verify and ../addresses/<email>/unverify respectively. The POST data is ignored.

Changed in mailman:
status: New → Fix Committed
Revision history for this message
Barry Warsaw (barry) wrote :

r7176

Barry Warsaw (barry)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.