Commit ecc68fa
committed
feat: provision retirement states during lms setup
We would like new devstack instances to better support the user retirement pipeline out of the box after provisioning.
This PR adds a new provisioning script that will be run during LMS setup. It runs the `populate_retirement_states` management command in order to build the `user_api_retirementstate` table. Without this, user deletion will fail, as the system doesn't understand what to do when retiring user accounts.1 parent 4d48a8a commit ecc68fa
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments