Skip to content

Explain how the file be edited when the file is locked

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Source: https://twitter.com/_Codito_/status/1626687790036533248

don't understand though why other users can't unlock file (button disabled), while Edit button is active and opens web editor for that locked file 🤔

image

If you continue to edit the file and try to commit directly to the branch with an error message "denied by custom hooks"

CleanShot_2023-02-20_at_13.22.54

The error message doesn't help the user understand why they can't commit the file directly on the same branch. But the file can be edited on a separate branch

Edited by 🤖 GitLab Bot 🤖