feat(ui): oauth checkboxes, edit form for instances
Description
-
/projects now have label, it's editable. And /dblab_instances also have it – but in the form label_or_name (if label is empty, it will return name). Note that editing form should send edit requests to /projects
-
/orgs now have four new editable (by admins) fields: oauth_allow_google, oauth_allow_linkedin , oauth_allow_gitlab, oauth_allow_github – checkboxes. They shown be shown only if two conditions are met: a) checkbox users_autojoin is checked and b) there is at least one domain in orgs.domains, and it has flag confirmed = true. Without these conditions, we do not allow editing these 4 new checkboxes (even don't show them)
Related issue
Examples
Updated context menu
Edit page
Checkboxes for settings page
Checklist
-
MR description has been reviewed -
MR changes are functionally tested -
MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc) -
MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED
Edited by Lasha Kakabadze