Revisit old feature 17458 - Disable Web GUI Commits

Description

Apologies in advance as this is technically a duplicate of a closed case.

Opening this in hopes that development team can re-visit the year old request (17458) to see if there is interest in it now as the community has continued to express desire for this.

The goal is to disable Web UI commits and overall edits from the UI.

An option to simply hide the "Edit" button would suffice.

Proposal

Add a system option to hide the "Edit" button from the Web UI and/or create new branches or merges.

Links / references

Previous (closed) -- https://gitlab.com/gitlab-org/gitlab-ce/issues/17458

Use cases

  • Editing in the UI disables all ability for code to be tested before commit, therefore potentially introducing "bad code" if a developer wants to make a "quick edit"

  • Forcing developers through a standard pull/commit/push flow from command line helps prevent negligent commits and "lazy" edits.

  • Forcing developers through a standard branching flow from command line helps prevent sprawl and thoughtless branch names.

  • Keeping up with competition. Attempting to push my business management to choose GitLab, however it does not contain this functionality which BitBucket has, therefore making GitLab a tough sell to company purchasing approvals.