Skip to content

feat(ui): oauth checkboxes, edit form for instances

Lasha Kakabadze requested to merge oauth-fields-and-edit-page-for-projects into master

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

image

Edit page

image

Checkboxes for settings page

image

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

Merge request reports