The new Angular perm group interface requires perm descriptions,
so we do the very least we can do and update null descriptions
to the perm code.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+-- The angular-ized permission group editor presumes that every
+-- permission in permission.perm_list has a description. Ideally
+-- staff would add these manually and make them useful, but with
+-- the need for *something*, we just updated it to whatever the
+-- code is.
+UPDATE permission.perm_list SET description = code WHERE description IS NULL;
+
+COMMIT;