VariantEffect / mavedb-ui

MaveDB UI
GNU Affero General Public License v3.0
1 stars 1 forks source link

Remove Any Lingering References to a 'Default' User Role #188

Closed bencap closed 1 month ago

bencap commented 1 month ago

Removes lingering references to a default user role, replacing them with 'ordinary user'. This default role was resulting in access keys trying to be created for a default user, which is not a real role, thus raising 422s from the backend. Creating default API keys now hits the correct endpoint and creates the keys successfully.

This change also alters the v-if statement for showing the roles div, giving it the same display logic as the warning message above the toolbar.