Skip to content

Prevent editing commits if signed commits required

What does this MR do?

On &4983 (closed), we want to allow editing commit messages on unprotected branches. Until a better solution, we can't edit commit messages that are signed, so if "Required signed commits" is enabled, this option shouldn't be enabled.

This commits prevents for editing commit setting to be enabled if signed commits option is required.

Editing commit option is under a feature flag disabled by default, as such UI is not visible on GitLab.com.

Related to #292493 (closed)

Screenshots (strongly suggested)

Validation error
Screen_Shot_2021-01-08_at_16.12.14

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mayra Cabrera

Merge request reports