RaspberryPiFoundation / editor-api

Code Editor backend
https://editor.raspberrypi.org
GNU Affero General Public License v3.0
23 stars 5 forks source link

Prepare for generating school codes #348

Closed chrisroos closed 3 months ago

chrisroos commented 3 months ago

This is mostly a refactoring PR in preparation for creating a school in Profile API upon verification in Editor API. Once we're creating schools in Profile API we'll need to keep them in sync with the data in Editor API. To make that easier this PR restricts a verified school from being rejected so that we don't have to handle updating/deleting schools in Profile API (at least for now).

This PR also:

chrisroos commented 3 months ago

Thanks @floehopper. Would you mind reviewing/approving it again now that I've addressed your comments, please? I've made the following changes since your last review: